uPortal IRC Logs-2012-02-22
[08:40:23 CST(-0600)] <dd_> hello
[08:40:55 CST(-0600)] <dd_> i'm trying to use proxyservlet to serve images from an rss portlet over https
[08:41:31 CST(-0600)] <dd_> it rewrites the url to point to /servlet/ProxyServlet/image...
[08:42:00 CST(-0600)] <dd_> problem is that doesn't seem to work but if i change the url to /uPortal/servley/ProxyServlet, it works
[08:42:27 CST(-0600)] <dd_> shouldn't /uPortal automatically get prepended to the url?
[09:02:43 CST(-0600)] <b-sure> Hello uPortal devs: I have a uMobile question about how it interacts with uPortal. When you choose to configure a portlet to "hide from mobile theme" in the portlet manager, is it supposed to not send json data over to the native umobile app? It looks like it does in the native app console but I would want it to not send the data .
[09:03:16 CST(-0600)] <b-sure> so that it wouldn't render as an app within the native mobile app
[09:03:47 CST(-0600)] <b-sure> I think this is a question for athena
[09:05:22 CST(-0600)] <b-sure> I know there is a mobile theme in uportal that we've not been able to get working in our 3.2.patches portal so far and I'm not sure if the toggle in the portlet manager is specific to that.
[09:07:28 CST(-0600)] <b-sure> I think the issue for me right now is that when I log into the native app, a bunch of json data is coming over to the native app and the console output is stopping on one of the portlets with an error. Im not sure if thats because I've got too many portlets to send over or if there is and issue with the json data for one of them.
[09:14:32 CST(-0600)] <dd_> hello
[09:57:35 CST(-0600)] <b-sure> Hello uPortal devs: I confirmed my uMobile question above about hiding portlets sent to the native app, that it works in our desired way. I just had to clear all caches in the admin control panel for the effect to take place.
[10:24:39 CST(-0600)] <athena> hey b-sure - glad you sorted it out
[10:26:30 CST(-0600)] <b-sure> thanks athena. this is really shaping up nicely. I can get passed our shibb authentication with the build I have, the emulator is just choking on rendering everything post login. the console output stops in the middle of the json strings on the url parameter after about 10/15 portlets get through
[10:27:11 CST(-0600)] <b-sure> so I'm turning off the ones that are breaking for some reason.
[10:27:17 CST(-0600)] <athena> ah! what version of up?
[10:27:24 CST(-0600)] <b-sure> 4.0.3 release
[10:27:51 CST(-0600)] <athena> try the latest trunk
[10:28:07 CST(-0600)] <athena> just fixed a bug that causes that
[10:28:10 CST(-0600)] <b-sure> ok . I'll try it later today. did you put something in there to address it?
[10:28:13 CST(-0600)] <b-sure> oh cool
[10:28:17 CST(-0600)] <athena> yep
[10:29:08 CST(-0600)] <b-sure> so I haven't retested the quickstart for the groups / categores configuration issue were haveing, but I'd rather try the 4.0.4-SNAPSHOT and see if maybe it goes away.
[10:29:25 CST(-0600)] <athena> sounds reasonable
[10:44:12 CST(-0600)] <b-sure> hello uPortal devs. Does anyone here know off hand if the <expiration-cache>0</expiration-cache> needs to be set to -1 to turn off caching? I've been told this before but don't remember.
[10:44:54 CST(-0600)] <b-sure> were in development for some of our WebProxy portlets and I see it's set to 0 and I think this is portal specific.
[10:50:14 CST(-0600)] <EricDalquist> -1 is cache forever
[10:50:18 CST(-0600)] <EricDalquist> 0 is cache never
[10:51:07 CST(-0600)] <b-sure> oh ok. thanks . So we do have it set to 0 and don't want caching, but looks like we aren't getting the updated information in the portlet
[11:53:20 CST(-0600)] <athena> hey EricDalquist - do you remember that issue we had with guest accounts sharing a layout between mobile and desktop? looks like we're having the same issue w/ logged in accounts now
[11:53:36 CST(-0600)] <EricDalquist> what issue is this?
[11:53:58 CST(-0600)] <athena> maybe inappropriate caching - i don't think i ever knew what exactly the issue in guest turned out to be
[11:54:32 CST(-0600)] <athena> but basically something's being shared inappropriately such that if you log in as desktop, then as mobile in another browser, then refresh the desktop view, all the portlets get set to 100%
[11:54:36 CST(-0600)] <athena> er, 100% width
[11:54:40 CST(-0600)] <athena> that's the most visible symptom
[11:54:47 CST(-0600)] <athena> and i know we saw that with guest layouts over the summer
[11:54:48 CST(-0600)] <EricDalquist> ah
[11:54:51 CST(-0600)] <EricDalquist> right
[11:55:03 CST(-0600)] <EricDalquist> my guess is some inappropriate caching wrt stylesheetuserpreferences objects
[11:55:07 CST(-0600)] <athena> yeah
[11:55:21 CST(-0600)] <athena> do you remember what the fix was for the guest user?
[11:55:25 CST(-0600)] <EricDalquist> no
[11:55:28 CST(-0600)] <athena> ok
[11:55:31 CST(-0600)] <athena> i'll do some poking around
[11:55:34 CST(-0600)] <EricDalquist> I don't know if we ever actually fixed it
[11:55:36 CST(-0600)] <athena> lol
[11:55:37 CST(-0600)] <athena> you did
[11:55:45 CST(-0600)] <EricDalquist> heh
[11:55:47 CST(-0600)] <athena> or at least, it doesn't happen anymore
[11:55:53 CST(-0600)] <athena> which maybe is the same thing, maybe not
[12:36:39 CST(-0600)] <athena> EricDalquist: i've got chris's pull request covered
[12:36:46 CST(-0600)] <EricDalquist> I figured
[12:58:36 CST(-0600)] <b-sure> hello uPortal devs. I've got the 4.0.4-SNAPSHOT installed but get an error w/ the guest layout and the guest view fragment does not render "[JCLLoggerAdapter.warn(ln:359)] - Failed to find default tab id for guest with default tab index 1. The user has no tabs.
[12:59:00 CST(-0600)] <b-sure> should I maybe update something in the db going from 4.0.3 to 4.0.4-SNAPSHOT?
[13:02:49 CST(-0600)] <b-sure> then after I log in, only my custom tab renders and no tabs from the dlm fragments show. seems to maybe be something related to dlm.
[13:06:13 CST(-0600)] <EricDalquist> oh I think drew changed the default dlm config mode
[13:06:15 CST(-0600)] <EricDalquist> to db
[13:06:23 CST(-0600)] <EricDalquist> so it might require changing that back to dlm.xml based config
[13:06:32 CST(-0600)] <EricDalquist> need to get him to doc that for the 4.0.4 release notes
[13:29:03 CST(-0600)] <b-sure> oh ok . thanks EricDalquist. Do you know where I can change that setting?
[13:29:32 CST(-0600)] <EricDalquist> I think it is the dlmConfigurationLoader bean in layoutContext.xml
[13:29:32 CST(-0600)] <b-sure> or maybe I need to go to the db to change it.
[13:29:40 CST(-0600)] <athena> hopefully it's mostly the reverse of what the manual lists for enabling db-configuration
[13:29:41 CST(-0600)] <b-sure> ok I'll have a look there. thanks
[13:53:41 CST(-0600)] <b-sure> ok EricDalquist. I may be missing something in the config for layoutContext.xml . I get this error http://pastebin.com/raw.php?i=VE7BYkf6 when trying to set layout to use dlm.xml.
[13:54:26 CST(-0600)] <EricDalquist> I'm not sure
[13:54:27 CST(-0600)] <b-sure> do you know if I should comment out the userLayoutStore
[13:54:29 CST(-0600)] <b-sure> oh ok.
[13:54:31 CST(-0600)] <EricDalquist> can you email the uportal-dev list
[13:54:36 CST(-0600)] <b-sure> sure
[13:54:38 CST(-0600)] <EricDalquist> and mention Drew Wills directly
[13:54:42 CST(-0600)] <EricDalquist> asking for help
[13:54:42 CST(-0600)] <b-sure> ok
[13:54:44 CST(-0600)] <EricDalquist> he did the work
[13:54:51 CST(-0600)] <b-sure> make sense.
[13:55:05 CST(-0600)] <EricDalquist> hopefully we can get this figured out and documented for the 4.0.4 release
[13:58:05 CST(-0600)] <b-sure> yep. crafting email now...
[15:03:10 CST(-0600)] <drewwills> Hi there b-sure – found and fixed the issue: https://github.com/Jasig/uPortal/commit/9e1b0972e4b0dbed8279f2e27c1c8d39892b1bb5
[15:03:22 CST(-0600)] <drewwills> sorry for that... copy-paste error
[15:03:32 CST(-0600)] <b-sure> cool. np.
[15:03:36 CST(-0600)] <EricDalquist> thanks for the quick fix drewwills
[15:03:39 CST(-0600)] <EricDalquist> also I wanted to ask
[15:03:47 CST(-0600)] <EricDalquist> what do we need to include in the 4.0.4 release notes about this change?
[15:04:02 CST(-0600)] <EricDalquist> for people that may already be on 4.0.x or in progress with it
[15:04:03 CST(-0600)] <b-sure> sue thanks. so can I just do a fetch upstream to get the fix?
[15:04:05 CST(-0600)] <drewwills> i'm glad you asked... was going to ask the same question of you
[15:04:19 CST(-0600)] <drewwills> yes b-sure that should be good
[15:04:23 CST(-0600)] <EricDalquist> I'm thinking we should just have a note about the two options
[15:04:29 CST(-0600)] <b-sure> ok will do thanks drewwills
[15:04:37 CST(-0600)] <EricDalquist> 1. "here is how to switch back to the dlm.xml based approach"
[15:04:47 CST(-0600)] <drewwills> but one note of caution b-sure: this change is part of a fix for an issue you submitted
[15:04:53 CST(-0600)] <EricDalquist> 2. "here is how to covert your dlm.xml into entity files and import them"
[15:05:21 CST(-0600)] <EricDalquist> does that sound reasonable?
[15:05:34 CST(-0600)] <drewwills> yes it does... and I can prepare that content if it helps
[15:05:52 CST(-0600)] <b-sure> I think we would probably want to go to the db backed information but have never tried it.
[15:06:11 CST(-0600)] <EricDalquist> that would be great drewwills, I'll get a 4.0.4 release notes wiki page template setup
[15:06:20 CST(-0600)] <EricDalquist> and post the link in ~ 5 minutes
[15:06:24 CST(-0600)] <drewwills> cool b-sure, thankfully it's essentially identical to the dlm.xml config
[15:06:32 CST(-0600)] <drewwills> cool
[15:09:06 CST(-0600)] <EricDalquist> drewwills: https://wiki.jasig.org/display/UPC/4.0.4
[15:09:17 CST(-0600)] <EricDalquist> if you could stick it under the Important Update Notes
[15:09:23 CST(-0600)] <EricDalquist> thanks for the help on this'
[15:11:20 CST(-0600)] <drewwills> np. I'll drop you a note somehow when I'm done
[15:11:47 CST(-0600)] <EricDalquist> you have until March 8
[15:14:24 CST(-0600)] <b-sure> oh drewwills is the dlm.xml file being phased out? like maybe I should just try to configure our setup to use the database now so that we don't have to use the file based setup.
[15:14:48 CST(-0600)] <EricDalquist> yeah
[15:14:57 CST(-0600)] <EricDalquist> in 4.0.4 we'll be encouraging people to switch to the db
[15:15:04 CST(-0600)] <EricDalquist> to deal with some data import issues drew tracked down
[15:15:31 CST(-0600)] <b-sure> I think that would be fine. Can I just follow the comments in the dlm.xml file to do the switch?
[15:15:51 CST(-0600)] <EricDalquist> not sure, I haven't done the work to switch from dlm.xml to entity files
[15:15:59 CST(-0600)] <EricDalquist> drew did that in master
[15:16:06 CST(-0600)] <EricDalquist> but I believe he will be writing a basic howto
[15:16:27 CST(-0600)] <b-sure> ok well I'll try and also wait for his how to. thanks.
[15:17:22 CST(-0600)] <EricDalquist> https://github.com/Jasig/uPortal/commit/be207c299ee181975f586b38c77417d660c1a1e0
[15:17:30 CST(-0600)] <EricDalquist> that is the commit where drew did the work for 4.0.4
[15:19:49 CST(-0600)] <b-sure> I see now thanks
[15:44:13 CST(-0600)] <b-sure> hello uPortal devs. Is this still the signature to get portlet <user-attributes> in the 4.0.3 build -> Map<String, String> userInfo = (Map<String, String>) request .getAttribute(PortletRequest.USER_INFO); ? I've got that returning null
[15:44:29 CST(-0600)] <EricDalquist> yeah, that is defined by the spec
[15:44:32 CST(-0600)] <EricDalquist> so that should be working
[15:44:42 CST(-0600)] <EricDalquist> if it isn
[15:44:46 CST(-0600)] <EricDalquist> 't that would be a bug
[15:45:09 CST(-0600)] <b-sure> yes there must be some way to verify that. maybe another portlet.
[15:45:19 CST(-0600)] <EricDalquist> yeah
[15:45:19 CST(-0600)] <EricDalquist> the Jasig Test Portlet
[15:45:24 CST(-0600)] <EricDalquist> I just tried it on the nightly build site
[15:45:40 CST(-0600)] <EricDalquist> and it works there
[15:45:42 CST(-0600)] <EricDalquist> are you logged in?
[15:47:43 CST(-0600)] <b-sure> yes. I'm logged in. looking at my userattributes I have in the portlet.xml "username" lowercase but in the attributes of the user person attributes section I see "Username" where the U is capital.
[15:47:51 CST(-0600)] <b-sure> is this case sensitive.
[15:47:52 CST(-0600)] <b-sure> ?
[15:48:01 CST(-0600)] <EricDalquist> user attributes are case sensitive
[15:48:11 CST(-0600)] <EricDalquist> but you should at least be getting an empty Map
[15:48:35 CST(-0600)] <b-sure> oh. is the "Username" supposed to be upper case start or maybe that is in my persondirectory configuration?
[15:48:48 CST(-0600)] <EricDalquist> I'
[15:48:54 CST(-0600)] <EricDalquist> I'd guess it would be all lower case
[15:49:03 CST(-0600)] <EricDalquist> but it all depends on your attribute sources and persondir config
[15:49:05 CST(-0600)] <b-sure> I think it used to be.
[15:49:15 CST(-0600)] <b-sure> ok. maybe I have a typo there.