Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 13 Next »

[11:38:08 CDT(-0500)] <b-sure> hello uPortal devs: athena: do you know about the entity-selector.js file for the groups and categories? Its giving an error for me in the updateBreadcrumbs method. the entity passed into it is undefiend. I'm wondering if I've got some bad markup somewhere.

[13:52:43 CDT(-0500)] <EricDalquist> $!@#$@#$ portlet caching is complicated

[13:54:32 CDT(-0500)] <athena> (sad)

[13:54:42 CDT(-0500)] <athena> projects that don't publish their artifacts are a pain

[13:54:47 CDT(-0500)] <EricDalquist> that too

[13:54:53 CDT(-0500)] <EricDalquist> I'm glad nick wrote a bunch of tests

[14:11:38 CDT(-0500)] <athena> tests good

[14:19:59 CDT(-0500)] <b-sure> hello athena: do you know where I could debug groups and categories that aren't showing up in the portal admin? it relates to UP-3345 in that I no longer get an exception, but none of my groups or categories show up.

[14:20:36 CDT(-0500)] <athena> what's specifically the problem?

[14:20:57 CDT(-0500)] <b-sure> entity-selector.js

[14:21:18 CDT(-0500)] <b-sure> I'll find the line ...

[14:22:10 CDT(-0500)] <b-sure> line 259 " key = entity.entityType + ':' + entity.id;" entityType is undefined. its passed into that method as an argument.

[14:23:07 CDT(-0500)] <b-sure> maybe there are no groups returned.

[14:25:12 CDT(-0500)] <athena> can you set a breakpoint in the js and see what the entity object looks like?

[14:25:32 CDT(-0500)] <b-sure> its actually undefined

[14:27:34 CDT(-0500)] <athena> ok, that does sound like a problem

[14:27:37 CDT(-0500)] <b-sure> thats what makes me think there are no groups available to build the breadcrumbs

[14:27:47 CDT(-0500)] <athena> is that for the very first ajax request?

[14:27:52 CDT(-0500)] <b-sure> maybe it has to do w/ us using grouper?

[14:27:58 CDT(-0500)] <b-sure> it is.

[14:28:02 CDT(-0500)] <b-sure> for the first request

[14:28:05 CDT(-0500)] <athena> ok

[14:28:07 CDT(-0500)] <b-sure> same goes for categories

[14:28:12 CDT(-0500)] <athena> so it sounds like it's not able to locate that root group

[14:28:21 CDT(-0500)] <athena> maybe step through that ajax target servlet w/ a debugger and see what's going on?

[14:28:28 CDT(-0500)] <b-sure> so the page doesn't fail to load, but processing stops in that file

[14:28:42 CDT(-0500)] <athena> makes sense

[14:28:44 CDT(-0500)] <b-sure> yeah. thats what I'm looking for now. the servlet

[14:29:00 CDT(-0500)] <athena> i believe that should be EntitiesRESTController.java

[14:29:01 CDT(-0500)] <b-sure> do you know off hand which one I should check out?

[14:29:11 CDT(-0500)] <b-sure> oh ok. thanks. I'll step through it.

[14:30:20 CDT(-0500)] <athena> looks like that delegates to groupListHelper, so you may need to look there as well

[14:32:29 CDT(-0500)] <athena> EricDalquist: i just pushed out a UP-2603 branch w/ the stats report

[14:32:42 CDT(-0500)] <athena> can't push to trunk until that dependency is available

[14:32:49 CDT(-0500)] <EricDalquist> great

[14:32:55 CDT(-0500)] <EricDalquist> who knows

[14:33:06 CDT(-0500)] <EricDalquist> considering how much grief this portlet caching stuff is giving me

[14:33:10 CDT(-0500)] <EricDalquist> it might still make it

[14:33:15 CDT(-0500)] <athena> lol

[14:33:18 CDT(-0500)] <athena> well, we'll see

  • No labels