Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

[14:58:50 CDT(-0500)] <b-sure> I did. I reimported the required and default data sets because I was having an issue w/ guest user not loading

[14:59:19 CDT(-0500)] <b-sure> I'll reimport the exported permissions now to see if that helps.

[14:59:48 CDT(-0500)] <athena> the other possibility is that there's something going on w/ the spring security + your shibboleth setup

[15:00:41 CDT(-0500)] <athena> you might step through the PortalPermissionEvaluator to see if you can narrow down the behavior

[15:00:43 CDT(-0500)] <b-sure> I would think for that then maybe madison would have a similar issue.

[15:02:34 CDT(-0500)] <athena> definitely something to ask EricDalquist

[15:02:54 CDT(-0500)] <EricDalquist> ?

[15:04:02 CDT(-0500)] <b-sure> hello EricDalquist. I assume your groups and categories are working ok in your 4.0 deploy of the portal? I'm debugging an issue I'm having where groups and categories aren't showing.

[15:04:10 CDT(-0500)] <EricDalquist> yes

[15:04:18 CDT(-0500)] <EricDalquist> so our migration approach was:

[15:04:19 CDT(-0500)] <b-sure> I"m trying to reimport the exported 3.2.5 data now

[15:04:45 CDT(-0500)] <EricDalquist> get a fully functional portal working with the default data set

[15:05:32 CDT(-0500)] <EricDalquist> then migrate our dlm config, fragment layouts, groups, and portlet definitions

[15:05:37 CDT(-0500)] <EricDalquist> once that was completely working

[15:05:49 CDT(-0500)] <EricDalquist> then migrate our user data (layouts essentially)

[15:06:04 CDT(-0500)] <EricDalquist> not sure if that helps

[15:06:16 CDT(-0500)] <EricDalquist> but I don't remember doing anything that special with groups/permissions to get uP4 up

[15:06:22 CDT(-0500)] <b-sure> that does help.

[15:06:25 CDT(-0500)] <EricDalquist> we didn't import our permission data from 3.x

[15:06:37 CDT(-0500)] <b-sure> hmm. I just reimported that stuff

[15:06:41 CDT(-0500)] <EricDalquist> and we've been managing all our group/category data vie entity files in SVN

[15:06:47 CDT(-0500)] <EricDalquist> so we just imported that data

[15:09:22 CDT(-0500)] <athena> they're having issues with the group manager

[15:09:35 CDT(-0500)] <EricDalquist> hrm

[15:09:39 CDT(-0500)] <athena> i'm guessing it's either missing/unmapped permissions or something to do w/ the spring security evaluator

[15:09:40 CDT(-0500)] <EricDalquist> I don't remember anything like that

[15:09:56 CDT(-0500)] <athena> guessing it's more likeyl the spring evaluator

[15:15:14 CDT(-0500)] <b-sure> ok. so it looks like the same result after importing the exported permission_set / group_memberships from 3.2.5. Should I try to step through the spring evaluator w/ the debugger?

[15:15:32 CDT(-0500)] <EricDalquist> well you'd be better off with the 4.x permission set

[15:15:47 CDT(-0500)] <EricDalquist> the migration docs should really encourage people to not migrate their 3.x permissions

[15:15:53 CDT(-0500)] <EricDalquist> unless they did a bunch of customization of them

[15:16:07 CDT(-0500)] <b-sure> oh so import required data on top of the 3.2.5 data

[15:16:49 CDT(-0500)] <EricDalquist> yeah

[15:17:02 CDT(-0500)] <EricDalquist> I'd import the requried and default permission set data from 4.0

[15:17:47 CDT(-0500)] <b-sure> I"ll try that again.

[15:34:40 CDT(-0500)] <b-sure> ok EricDalquist. is there a way I can make myself an administrator with the default data loaded? maybe directly in the db?

[15:35:00 CDT(-0500)] <b-sure> or athena. do you know how to do this?

[15:35:16 CDT(-0500)] <athena> sure

[15:35:21 CDT(-0500)] <EricDalquist> modify the Portal_Administrators.group_membership file

[15:35:22 CDT(-0500)] <athena> just add yourself to the portal administrators group

[15:35:23 CDT(-0500)] <athena> yes

[15:35:29 CDT(-0500)] <EricDalquist> add the usernames of those you want to be admins

[15:35:31 CDT(-0500)] <EricDalquist> and import that file

[15:35:33 CDT(-0500)] <b-sure> then reimport?

[15:35:36 CDT(-0500)] <b-sure> ok thanks.

[15:51:13 CDT(-0500)] <b-sure> ok athena I'm an admin now. and I see the success ful get and navigate to /api/entities/GROUP/local.0.json http://pastebin.com/raw.php?i=3SxpC6z5 . can you tell if this rules out a spring security issue?

[15:53:25 CDT(-0500)] <b-sure> its definitely valid json http://jsonlint.com/

[15:54:03 CDT(-0500)] <EricDalquist> yeah I'd assume that is a UI issue then

[15:54:07 CDT(-0500)] <EricDalquist> since you're seeing the JSON come back

[15:54:29 CDT(-0500)] <b-sure> yeah

[15:58:28 CDT(-0500)] <athena> b-sure: that looks like the right response to me

[15:58:33 CDT(-0500)] <athena> is the group portlet working now?

[15:58:46 CDT(-0500)] <athena> EricDalquist: do you mind if i cut a release of the maven-uportal-plugin?

[15:58:53 CDT(-0500)] <EricDalquist> go ahead

[15:58:56 CDT(-0500)] <athena> ok

[15:59:03 CDT(-0500)] <athena> going to do that, then an update to the portlet archetype

[15:59:31 CDT(-0500)] <b-sure> it isn't working yet athena. do you know if that relies on js from the ResourceServingWebapp. I may be a couple builds behind on that.

[15:59:47 CDT(-0500)] <athena> yes that could certainly be an issue

[15:59:57 CDT(-0500)] <b-sure> ok. I'll update that as well

[16:00:04 CDT(-0500)] <athena> though i'd think an outdated version would affect all of uportal

[16:00:08 CDT(-0500)] <athena> do you have missing JS resources?

[16:00:24 CDT(-0500)] <b-sure> no. no missing resources in the js console

[16:00:57 CDT(-0500)] <athena> probably not the issue then

[16:00:58 CDT(-0500)] <athena> ok.

[16:01:03 CDT(-0500)] <athena> so now you get that JSON object back

[16:01:17 CDT(-0500)] <athena> is the entity object showing up in that line you set a breakpoint at before? are there any errors in the console?

[16:01:20 CDT(-0500)] <b-sure> I think I've been getting it back the whole time

[16:01:52 CDT(-0500)] <b-sure> i'm getting the initial error that the entityType is not a property of undefined.

[16:01:53 CDT(-0500)] <athena> by the way EricDalquist - do you manually add things like release.properties to your license config generally? i've found i had to manually exclude those to get the release plugin to work

[16:02:15 CDT(-0500)] <EricDalquist> hrm

[16:02:17 CDT(-0500)] <athena> if you'er getting that on entity.entityType, that likely means the entity object is undefined

[16:02:18 CDT(-0500)] <EricDalquist> I've never had that

[16:02:23 CDT(-0500)] <athena> huh, i wonder what's different

[16:04:27 CDT(-0500)] <b-sure> yippee! thanks athena. after i upgraded to the latest ResourceServingWebapp, the groups are working.

[16:04:33 CDT(-0500)] <athena> great!

[16:04:35 CDT(-0500)] <athena> glad to hear it

[16:04:43 CDT(-0500)] <athena> wow, this plugin has tons of licensing / notice file issues

[16:04:47 CDT(-0500)] <b-sure> just in the nick of time for me to go home for the day(smile)

[16:04:56 CDT(-0500)] <athena> yay!

[16:04:59 CDT(-0500)] <athena> glad there's progress (smile)

[16:05:04 CDT(-0500)] <b-sure> thanks for your help. thank you to EricDalquist

[16:05:08 CDT(-0500)] <EricDalquist> athena: are you using the latest jasig parent pom?

[16:05:42 CDT(-0500)] <athena> this is an issue i've had in general in the past

[16:05:48 CDT(-0500)] <athena> haven't tried with the very latest, though i will

[16:06:17 CDT(-0500)] <EricDalquist> hrm