uPortal IRC Logs-2011-06-20

[08:48:10 CDT(-0500)] <mklein21005> does anyone know of a good tutorial for how to make portlets using eclipse with maven and spring plugins?
[10:10:30 CDT(-0500)] <EricDalquist> athena1: recovered from the conference yet?
[10:33:40 CDT(-0500)] <b-rock> Greetings uPortal devs: EricDalquist, I'm trying to prepare an export of 3.2 patches to send from your request this morning. I"m running into this error http://pastebin.com/RvMhxVu9 preventing the export to really start up.
[10:34:31 CDT(-0500)] <b-rock> We haven't tried an export of our data in this build previously. our last attempt was with the 3.2.2 build.
[10:34:47 CDT(-0500)] <EricDalquist> ah, just a sec
[10:38:00 CDT(-0500)] <EricDalquist> b-rock: in FragmentActivator:209
[10:38:02 CDT(-0500)] <EricDalquist> replace
[10:38:02 CDT(-0500)] <EricDalquist> final ReadWriteLock userViewLock = userViewLocks.get(ownerId);
[10:38:03 CDT(-0500)] <EricDalquist> with
[10:38:18 CDT(-0500)] <EricDalquist> final ReadWriteLock userViewLock = getUserViewLock(ownerId);
[10:38:27 CDT(-0500)] <EricDalquist> you must be running on the latest 3.2 patches branch?
[10:38:58 CDT(-0500)] <b-rock> yeah I'm checkout out the latest patches.
[10:39:08 CDT(-0500)] <athena1> EricDalquist: somewhat (tongue)
[10:39:10 CDT(-0500)] <b-rock> I'll try the replace now and let you know the results
[10:39:41 CDT(-0500)] <EricDalquist> athena1: so I was wondering, if I was playing with the latest uMobile titanium code would it work if I pointed it to up40-nightly?
[10:40:19 CDT(-0500)] <athena1> yes!
[10:40:27 CDT(-0500)] <athena1> please please do try it
[10:40:33 CDT(-0500)] <athena1> there are some rudimentary instructions onilne
[10:40:46 CDT(-0500)] <athena1> need to get back to laura - she's volunteered to help w/ documentation
[10:41:27 CDT(-0500)] <EricDalquist> great
[10:41:33 CDT(-0500)] <EricDalquist> we have a dev that is playing with the app
[10:41:41 CDT(-0500)] <EricDalquist> and was wondering about a uPortal instance to point it at
[10:41:44 CDT(-0500)] <EricDalquist> I'll let him know
[10:47:14 CDT(-0500)] <athena1> (smile)
[10:50:17 CDT(-0500)] <athena1> basically you have to install titanium
[10:50:19 CDT(-0500)] <athena1> set up a new project
[10:50:26 CDT(-0500)] <athena1> and then replace the Resources directory w/ our code
[10:50:52 CDT(-0500)] <athena1> are we in code freeze right now?
[10:50:55 CDT(-0500)] <EricDalquist> no
[10:51:09 CDT(-0500)] <EricDalquist> didn't get anything done this weekend
[10:51:14 CDT(-0500)] <EricDalquist> so tryin to catch up now
[10:51:14 CDT(-0500)] <athena1> ah ok
[10:51:19 CDT(-0500)] <b-rock> ok EricDalquist. Looks like we still have the null pointer exception in ReadWriteLockTemplate http://pastebin.com/UdP08QVb
[10:51:27 CDT(-0500)] <athena1> i'll check in some search updates now if that's ok then - didn't have the energy to do it this weekend
[10:51:40 CDT(-0500)] <athena1> i added a window id to the search result object
[10:51:52 CDT(-0500)] <athena1> turns out the window id reported by the event gives you the one for the searc portlet itself
[10:51:52 CDT(-0500)] <EricDalquist> hrm ... I'm not sure how that is possible after that change ...
[10:52:17 CDT(-0500)] <b-rock> I did mvn clean install first then the ant crn-export ...
[10:52:23 CDT(-0500)] <b-rock> maybe I need to clean again.
[10:52:51 CDT(-0500)] <EricDalquist> could you pastebin me your getUserViewLock method from FragmentActivator
[10:54:06 CDT(-0500)] <b-rock> I see there are 2 locations for that line of code and I only got the first.
[10:54:10 CDT(-0500)] <b-rock> getting the second now.
[10:54:14 CDT(-0500)] <EricDalquist> ah ok
[10:54:16 CDT(-0500)] <EricDalquist> what is the other line?
[10:54:39 CDT(-0500)] <b-rock> 190
[10:54:49 CDT(-0500)] <EricDalquist> thanks'
[10:56:36 CDT(-0500)] <EricDalquist> b-rock: line 190 is inside the getUserViewLock method
[10:56:45 CDT(-0500)] <EricDalquist> which is what you're calling in the new line of code (smile)
[10:57:20 CDT(-0500)] <EricDalquist> that will just get you a stack overflow error
[10:57:59 CDT(-0500)] <b-rock> right. I changed the wrong line the first time around. I must take coffee break now.
[10:58:05 CDT(-0500)] <EricDalquist> ah
[10:58:05 CDT(-0500)] <EricDalquist> ok
[10:58:07 CDT(-0500)] <EricDalquist> (smile)
[11:37:26 CDT(-0500)] <b-rock> Hi EricDalquist: the export worked this time and I've got the tgz of the export to send your way.
[11:37:37 CDT(-0500)] <EricDalquist> great
[11:37:53 CDT(-0500)] <EricDalquist> can you post it in a secure location and send a link?
[11:38:02 CDT(-0500)] <EricDalquist> or do you need me to provide a plafce to upload it?
[11:38:28 CDT(-0500)] <b-rock> I think it would be easier for me if I can upload it to a location to you if possible.
[11:38:50 CDT(-0500)] <EricDalquist> ok
[11:38:59 CDT(-0500)] <EricDalquist> I'll get you a url in ~ 15 minutes
[11:39:39 CDT(-0500)] <b-rock> this is exciting. I think that is the first error free export I've completed on uPortal since I've been working with it these last 2 years.
[11:42:57 CDT(-0500)] <b-rock> ok thanks.
[12:37:49 CDT(-0500)] <athena> hey EricDalquist - i'm having trouble importing a single portlet file
[12:37:55 CDT(-0500)] <athena> just says "scanning for files to Import"
[12:38:00 CDT(-0500)] <EricDalquist> try
[12:38:11 CDT(-0500)] <EricDalquist> "ant crn-import -Dfile=/path/to/file"
[12:38:20 CDT(-0500)] <EricDalquist> haven't finished documenting the new features (smile)
[12:38:25 CDT(-0500)] <athena> ah
[12:38:37 CDT(-0500)] <EricDalquist> also haven't actually tried single file import yet
[12:38:41 CDT(-0500)] <EricDalquist> working on that stuff right now
[12:38:42 CDT(-0500)] <athena> (smile)
[12:38:44 CDT(-0500)] <athena> ok
[12:38:48 CDT(-0500)] <athena> will let you know if it works
[12:38:52 CDT(-0500)] <EricDalquist> thanks
[12:38:52 CDT(-0500)] <athena> if not, will register it manually
[12:39:03 CDT(-0500)] <EricDalquist> could always stick it in a dir
[12:39:05 CDT(-0500)] <EricDalquist> and import the whole dir
[12:39:18 CDT(-0500)] <EricDalquist> "ant crn-import -Ddir=/path/to/dir/"
[12:39:21 CDT(-0500)] <EricDalquist> should work
[12:39:31 CDT(-0500)] <athena> gotcha
[12:39:34 CDT(-0500)] <athena> so just no pattern anymore?
[12:39:40 CDT(-0500)] <EricDalquist> pattern still works
[12:39:50 CDT(-0500)] <athena> hm - wasn't working for me
[12:39:53 CDT(-0500)] <EricDalquist> though it changed to an ant file pattern instead of regex
[12:39:56 CDT(-0500)] <athena> ah
[12:40:27 CDT(-0500)] <EricDalquist> eventually I'm going to deprecate the crn-* tasks
[12:40:30 CDT(-0500)] <EricDalquist> create some new ones
[12:40:43 CDT(-0500)] <EricDalquist> and have the crn-* tasks fail with a message pointing to the docs
[12:41:02 CDT(-0500)] <athena> wish we had time to get those transitioned to maven
[12:41:07 CDT(-0500)] <athena> yay that worked, thanks
[12:41:08 CDT(-0500)] <EricDalquist> me too
[12:41:11 CDT(-0500)] <EricDalquist> great
[12:41:33 CDT(-0500)] <athena> so a couple things i know of that still need fixing
[12:41:42 CDT(-0500)] <athena> 1. parameters not being auto-populated int he portlet admin portlet
[12:41:47 CDT(-0500)] <athena> 2. some broken stuff in the permissions portlet
[12:41:57 CDT(-0500)] <athena> 3. we need to work through the changes to user attribute names with the local accounts
[13:10:15 CDT(-0500)] <EricDalquist> athena: could you put those in jira as fixfor 4.0
[13:10:28 CDT(-0500)] <athena> yes
[13:10:36 CDT(-0500)] <EricDalquist> also do you think you would possibly have any time to switch trunk to the directory-per-properties file approach for filtering?
[13:10:58 CDT(-0500)] <athena> yes
[13:10:59 CDT(-0500)] <athena> (smile)
[13:11:11 CDT(-0500)] <athena> though maybe not today - is that ok?
[13:11:16 CDT(-0500)] <EricDalquist> yeah
[13:11:19 CDT(-0500)] <EricDalquist> that's fine
[13:11:48 CDT(-0500)] <athena> ok
[13:27:00 CDT(-0500)] <EricDalquist> @#$!@#$
[13:27:11 CDT(-0500)] <EricDalquist> I HATE all this old JDBC code
[13:29:20 CDT(-0500)] <athena> yes.
[13:29:21 CDT(-0500)] <athena> quite.
[13:29:55 CDT(-0500)] <EricDalquist> stupid deadlock in import-layuout because of trying to use jpa and the old school stuff in one tx
[13:30:27 CDT(-0500)] <EricDalquist> also I'm updating trunk to hsql 2.2
[13:30:32 CDT(-0500)] <EricDalquist> it has true TX support
[13:30:47 CDT(-0500)] <EricDalquist> so the same deadlock that exists on all other DBs is now visible here too
[13:30:58 CDT(-0500)] <EricDalquist> should help us make sure we don't break things as much
[13:34:45 CDT(-0500)] <athena> YAY
[13:34:50 CDT(-0500)] <athena> was going to ask you about 2.2 support
[13:34:56 CDT(-0500)] <athena> should be great
[13:34:59 CDT(-0500)] <EricDalquist> yeah
[14:26:42 CDT(-0500)] <EricDalquist> if (RDBMServices.getDbMetaData().supportsTransactions())
[14:27:01 CDT(-0500)] <EricDalquist> do we honestly think anyone would try to run uPortal on a DB that doesn't support transactions!
[14:31:26 CDT(-0500)] <athena> yeah people should not do that (tongue)
[14:38:06 CDT(-0500)] <EricDalquist> public final boolean supportsTransactions() {
[14:38:06 CDT(-0500)] <EricDalquist> //We never run on DBs that don't support transactions any more
[14:38:06 CDT(-0500)] <EricDalquist> return true;
[14:38:06 CDT(-0500)] <EricDalquist> }
[14:38:13 CDT(-0500)] <EricDalquist> apparently that was "fixed" long ago
[14:56:19 CDT(-0500)] <athena> and what a fix (tongue)
[14:57:44 CDT(-0500)] <EricDalquist> yeah
[14:57:49 CDT(-0500)] <EricDalquist> can't wait for the real fix
[14:57:59 CDT(-0500)] <EricDalquist> of not having old school jdbc code anymore anywhere
[14:59:57 CDT(-0500)] <athena> yeah (smile)
[15:00:04 CDT(-0500)] <athena> just the users/profiles/layouts code, right?