uPortal IRC Logs-2010-12-08

[13:31:53 CST(-0600)] <athena> hey EricDalquist you're using maven 3 right now right?
[13:32:42 CST(-0600)] <EricDalquist> yeah
[13:34:01 CST(-0600)] <athena> i'm having some really weird issues w/ the calendar portlet
[13:34:12 CST(-0600)] <athena> it has two repositories defined - modularity and caldav
[13:34:20 CST(-0600)] <athena> seems to be refusing to try more than one repo
[13:34:26 CST(-0600)] <athena> not picking up new stuff from central, etc.
[13:35:04 CST(-0600)] <athena> any ideas?
[13:35:08 CST(-0600)] <EricDalquist> hrm
[13:35:20 CST(-0600)] <EricDalquist> have you seen any messages about them being blacklisted?
[13:35:29 CST(-0600)] <EricDalquist> also what are the id's for those additional repos?
[13:35:49 CST(-0600)] <athena> modularity-releases and caldav4j.repo
[13:36:36 CST(-0600)] <athena> maybe try maven2 and see if it works? dunno
[13:37:05 CST(-0600)] <EricDalquist> try adding -U
[13:37:33 CST(-0600)] <athena> hm, nope
[13:45:30 CST(-0600)] <athena> GAH
[13:45:40 CST(-0600)] <athena> random missing files in maven
[13:48:35 CST(-0600)] <athena> calendar portlet has all these dependencies that can't be resolved now
[13:52:05 CST(-0600)] <athena> guess that's the advantage to deleting the repository when we do nightly builds
[13:54:22 CST(-0600)] <EricDalquist> yup
[13:54:35 CST(-0600)] <athena> i think maybe it was trying all the repositories and the error message is just misleading
[13:57:43 CST(-0600)] <EricDalquist> wtf for some reason the Add Preference dialog in portlet manager isn't working for us
[13:57:59 CST(-0600)] <athena> uhoh :/
[13:58:04 CST(-0600)] <athena> is it a js error or something?
[13:58:06 CST(-0600)] <EricDalquist> looks like the .find in this block of JS isn't working:
[13:58:06 CST(-0600)]

<EricDalquist> var html = "<form><p>Parameter name: <input name=\"name\"/></p>"; 96 html += "<input type=\"submit\" value=\"Add\"/></form>"; 97 dialog.html(html); 98 dialog.find("form").submit(function()

Unknown macro: { return addParameter(that, this); }

);


[13:58:12 CST(-0600)] <EricDalquist> oh ugly
[13:58:21 CST(-0600)] <EricDalquist> var html = "<form><p>Parameter name: <input name=\"name\"/></p>";
[13:58:21 CST(-0600)] <EricDalquist> 96 html += "<input type=\"submit\" value=\"Add\"/></form>";
[13:58:21 CST(-0600)] <EricDalquist> 97 dialog.html(html);
[13:58:21 CST(-0600)]

<EricDalquist> 98 dialog.find("form").submit(function()

Unknown macro: { return addParameter(that, this); }

);


[13:58:28 CST(-0600)] <EricDalquist> ignore the line #s
[13:58:32 CST(-0600)] <EricDalquist> so the html shows up
[13:58:47 CST(-0600)] <athena> hm.
[13:58:48 CST(-0600)] <EricDalquist> but that .find("form") is returning nothing ...
[13:58:57 CST(-0600)] <athena> that is odd :/
[13:59:08 CST(-0600)] <EricDalquist> and it works in 3.2.4 which we're based on
[13:59:37 CST(-0600)] <athena> i'm not sure i'm wild about the new maven output - it's a lot less helpful
[13:59:52 CST(-0600)] <athena> that combined with the bad organization of the maven eclipse stuff now is making me cranky
[14:00:08 CST(-0600)] <athena> so it works in vanilla 3.2.4?
[14:00:38 CST(-0600)] <athena> like, this says the test failed, but not which one (sad)
[14:02:03 CST(-0600)] <EricDalquist> it should say whichone
[14:02:12 CST(-0600)] <EricDalquist> it does for me on a portlet I'm working on
[14:03:17 CST(-0600)] <athena> weird
[14:03:23 CST(-0600)] <athena> the maven 3 output is much less useful for me
[14:03:58 CST(-0600)] <athena> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.5:test (default-test) on project cas: There are test failures.
[14:03:58 CST(-0600)] <athena> Please refer to /Users/athena/workspaces/uportal/up-showcase/uportal-portlets-overlay/cas/target/surefire-reports for the individual test results.
[14:04:47 CST(-0600)] <EricDalquist> look up ~ 20 lines higher
[14:07:05 CST(-0600)] <athena> huh
[14:07:10 CST(-0600)] <athena> guess maybe classpath errors
[14:08:28 CST(-0600)] <EricDalquist> weird so on that JS issue ... the <form> is never written to the markup
[14:08:31 CST(-0600)] <EricDalquist> but its contents are
[14:09:02 CST(-0600)] <EricDalquist> so the JS is doing:
[14:09:02 CST(-0600)] <EricDalquist> var html = "<form><p>Parameter name: <input name=\"name\"/></p>";
[14:09:02 CST(-0600)] <EricDalquist> html += "<input type=\"submit\" value=\"Add\"/></form>";
[14:09:02 CST(-0600)] <EricDalquist> dialog.html(html);
[14:09:16 CST(-0600)] <athena> which seems like it should work
[14:09:36 CST(-0600)] <EricDalquist> but when I look in firebug only the <p> and <input>s are there
[14:09:51 CST(-0600)] <athena> maybe the form needs an action attribute or somethign?
[14:10:02 CST(-0600)] <athena> that's all i can think of
[14:48:35 CST(-0600)] <EricDalquist> wtf
[14:48:42 CST(-0600)] <EricDalquist> so I moved the form content into the actual markup
[14:48:47 CST(-0600)] <EricDalquist> it is there when I view source
[14:48:56 CST(-0600)] <EricDalquist> but browsing to it in firebug shows the form element missing again
[14:49:15 CST(-0600)] <EricDalquist> I'm wondering if the gallery could have any potential side-effects with this :/
[15:10:27 CST(-0600)] <athena> hmmm.
[16:02:55 CST(-0600)] <EricDalquist> athena: do you happen to have trunk running right now?
[16:03:11 CST(-0600)] <athena> yes, i did as of this morning
[16:03:26 CST(-0600)] <EricDalquist> just wondering if you had it up to test something, I'll just spin it up
[16:03:34 CST(-0600)] <EricDalquist> I want to see if the add prefernce dialog works in trunk
[16:16:34 CST(-0600)] <EricDalquist> arg
[16:16:37 CST(-0600)] <EricDalquist> so it works in trunk ...
[16:17:01 CST(-0600)] <EricDalquist> just have to figure out why that <form> element is magically disappearing
[16:18:23 CST(-0600)] <athena> oh
[16:18:26 CST(-0600)] <athena> so i did have a suggestion
[16:18:43 CST(-0600)] <athena> what version of fluid are you using?
[16:18:49 CST(-0600)] <athena> we had to add a patch
[16:19:16 CST(-0600)] <athena> i think there's a -v2 in the resource server now
[16:19:22 CST(-0600)] <athena> was causing problems w/ other fluid content
[16:19:25 CST(-0600)] <athena> dunno if that's related or not
[16:22:33 CST(-0600)] <EricDalquist> huh
[16:22:37 CST(-0600)] <EricDalquist> ok
[16:22:42 CST(-0600)] <EricDalquist> I think we're on .11
[16:22:46 CST(-0600)] <EricDalquist> of the resource server
[16:22:51 CST(-0600)] <EricDalquist> was the patch gallery related?
[16:26:05 CST(-0600)] <athena> not exactly, but we discovered the issue when we developed the gallery
[16:26:11 CST(-0600)] <athena> we didn't really trigger it until then
[16:26:14 CST(-0600)] <EricDalquist> ok
[16:26:14 CST(-0600)] <athena> was an issue w/ the renderer
[16:26:19 CST(-0600)] <athena> as i said though, dunno if it's related
[16:26:20 CST(-0600)] <EricDalquist> I'll update to -v2 and see