Skip to Content.
Sympa Menu

grouper-users - RE: [grouper-users] problem with ruleThenEnum : assignMembershipDisabledDaysForOwnerGroupId

Subject: Grouper Users - Open Discussion List

List archive

RE: [grouper-users] problem with ruleThenEnum : assignMembershipDisabledDaysForOwnerGroupId


Chronological Thread 
  • From: Chris Hyzer <>
  • To: Yoann Delattre <>, "" <>
  • Subject: RE: [grouper-users] problem with ruleThenEnum : assignMembershipDisabledDaysForOwnerGroupId
  • Date: Tue, 30 Sep 2014 13:30:47 +0000
  • Accept-language: en-US

https://bugs.internet2.edu/jira/browse/GRP-1039

 

This is fixed, the UI was setting the enabled/disabled after the rule fired, so it was undo'ing it...

 

https://github.com/Internet2/grouper/commit/c92a628102cb733de5553b3616bd507993ae436e

 

There is a test case to make sure this doesnt happen again

 

Thanks,

chris

 

From: [mailto:] On Behalf Of Yoann Delattre
Sent: Wednesday, September 10, 2014 11:05 AM
To:
Subject: [grouper-users] problem with ruleThenEnum : assignMembershipDisabledDaysForOwnerGroupId

 

Hi all,

i'v a problem with a rule...I want to set a disabled date on every membership added to a group.
In 2.1.5, i use a rule configure like this :



but on 2.2, it doesn't work anymore...

i tried to debug without success...

no error, no warning, nothing...just this :

014-09-10 15:30:24,661: [http-8080-2] DEBUG RuleEngine.fireRule(482) -  - Rules engine processing rulesBean: group: etab-pub:grpt_comptable:toto, membership: Membership[createTime=1410355824550,creatorUuid=204535b8c75a4d149a833448e9ace3cc,depth=0,listName=members,listType=list,memberUuid=8841deff94e74ae69d917a4caf5bd599,groupId=881b8697858c433ba626d706b35e302e,type=immediate], subject: Subject id: DPreuvot, sourceId: ldapPerso, , found 1 matching rule definitions, ruleDefinition should fire: attributeAssignTypeId: 264080c53ba24cfaa4cd28d5de00dbff, actAsSubjectId: GrouperSystem, checkType: membershipAdd, thenEnum: assignMembershipDisabledDaysForOwnerGroupId, thenEnumArg0: 320, thenEnumArg1: T, , enumResult: true, shouldFire count: 1

So it should work, but when i check the group on New UI, nothing...




Can you help me ?

thanks,
Yoann




Archive powered by MHonArc 2.6.16.

Top of Page