Skip to Content.
Sympa Menu

grouper-users - [grouper-users] RE: grouper_memberships_v changes from Grouper 1.5.3 to Grouper 1.6

Subject: Grouper Users - Open Discussion List

List archive

[grouper-users] RE: grouper_memberships_v changes from Grouper 1.5.3 to Grouper 1.6


Chronological Thread 
  • From: Chris Hyzer <>
  • To: "Wang, Simon" <>, "" <>
  • Subject: [grouper-users] RE: grouper_memberships_v changes from Grouper 1.5.3 to Grouper 1.6
  • Date: Thu, 24 Mar 2011 15:57:21 -0400
  • Accept-language: en-US
  • Acceptlanguage: en-US

It contains the group_id if the member is a group, right?  It still does that in 1.6.

Btw, it would be better to use the grouper_memberships_lw_v is what you need is available there…

 

 

To test this, I ran:

 

gsh 0% grouperSession = GrouperSession.startRootSession();

edu.internet2.middleware.grouper.GrouperSession: b59e442ee616406dbc8a376b0ed38ce3,'GrouperSystem','application'

gsh 1% groupA = new GroupSave(grouperSession).assignName("stem1:a").assignCreateParentStemsIfNotExist(true).save();

group: name='stem1:a' displayName='stem1:a' uuid='1202ecdb175c4f11ba6c9b4937a7b5bc'

gsh 2% groupB = new GroupSave(grouperSession).assignName("stem2:b").assignCreateParentStemsIfNotExist(true).save();

group: name='stem2:b' displayName='stem2:b' uuid='7119a654ca774e55a8ca799acb19f925'

gsh 3% groupA.addMember(groupB.toSubject());

gsh 4%

 

See attached screenshot.

 

Thanks,

Chris

 

From: [mailto:] On Behalf Of Wang, Simon
Sent: Thursday, March 24, 2011 3:43 PM
To:
Subject: [grouper-users] grouper_memberships_v changes from Grouper 1.5.3 to Grouper 1.6

 

Hello,

 

We are migration Grouper from 1.5.3 to Grouper 1.6.

 

I noticed that in grouper_memberships_v, subject_id column contains the group_id in Grouper 1.5.3 database, but not in Grouper 1.6 database.

 

Is this true, and if this is true, how can I get the same info in the new schema?

 

Thanks a lot!

 

Simon

 

 

Attachment: sqlyog.jpg
Description: sqlyog.jpg




Archive powered by MHonArc 2.6.16.

Top of Page