Skip to Content.
Sympa Menu

grouper-users - [grouper-users] Re: Name null when adding group with subsequent update -- PSPNG

Subject: Grouper Users - Open Discussion List

List archive

[grouper-users] Re: Name null when adding group with subsequent update -- PSPNG


Chronological Thread 
  • From: "Bee-Lindgren, Bert" <>
  • To: Shaun Koh <>, "" <>
  • Subject: [grouper-users] Re: Name null when adding group with subsequent update -- PSPNG
  • Date: Wed, 18 Jan 2017 00:04:31 +0000
  • Accept-language: en-US
  • Authentication-results: spf=none (sender IP is ) ;
  • Ironport-phdr: 9a23:9w+eTBz6yQOsiv3XCy+O+j09IxM/srCxBDY+r6Qd0uoTL/ad9pjvdHbS+e9qxAeQG96Kt7Qf26GM6+jJYi8p2d65qncMcZhBBVcuqP49uEgeOvODElDxN/XwbiY3T4xoXV5h+GynYwAOQJ6tL1LdrWev4jEMBx7xKRR6JvjvGo7Vks+7y/2+94fdbghMizexe71/IRa5oQnPqsUdnJdvJLs2xhbVuHVDZv5YxXlvJVKdnhb84tm/8Zt++ClOuPwv6tBNX7zic6s3UbJXAjImM3so5MLwrhnMURGP5noHXWoIlBdDHhXI4wv7Xpf1tSv6q/Z91SyHNsD4Ubw4RTKv5LpwRRT2lCkIKSI28GDPisxxkq1bpg6hpwdiyILQeY2ZKeZycr/Ycd4cWGFPXNteVzZZD428cYUBEvYBM+hboYnzpVQOrAexCga3Cez11jNEmmX70bEm3+g8FwzNwQwuH8gJsHTRtNj5OrofXv6rw6XRyzvDbvVW1iry6IjSbB8hp+mAVq9tfMXP00kvCw3JhUiXpIP+ITyVzPgNv3KA4OV+S+2jkmonqwB3ojeyyccskJfGhoQOx1DD9CV53Jw5JdKiR05nf9GrDJtQuzuEOIRrX8MvWmdlszs5xL0eoZO3YTQGxZs9yxPQafGLaYeF7g/5WOqMPzt1i2ppdKy+ihqv7UStz/DwW8a33VtPsyZFnMXAum4I2hDO5MWLVuZx80Kv1DqR2A3e6eRJLEA2mKfbK5Msx7E9m5gcvEjeGyL6hUv2gLKWe0gi5+Om8f7oYq/8qZ+ZL4J0ih/xMqApmsGnGeo1Lg8AU3SV9Oil2rPt+kP0TKxNjvItjKbVqpfaJdkHpqGiBA9Vz4Aj5AulAze+ytQYmmUHI0xZdxKbjojpPFfOLOr/Dfein1SslDBrx/fFPrH7HprNKX3DnK/gfbZ79UFc1BI+wc1D659bEL0ML/D+VlX+udDFFBM1LhK4zun/BNV4zIweWGaPAqGDMKPVtF+F/vkgLPeWZI8JojryMOYq6OD3gX89mF8de7Sm3ZQNaH+mGPRrOEKZYXvwgtsbHmcFpBY+Q/L2h12CSzJceWu9X78k6jEhFI2mFZvDRpyqgLGZ0ye7BJpWZn1eCl+SC3fkbpiEW+wSZyKIOc9siTgEVbm6S489zhGiqhX2y7thLurI5CIYr5Tj28Zp5+HNjx096yF7D9nOm12KGlp0l34ODxwx3Ogrukx011HF0q94q/VFHt9X7vVFFA4xc5jOmagyQd/oXR/Zc83MVU2rWM6OADctQ8g3zsNUJUtxBp/q2h/Z2DeyDqVQiqeGHocc86TA0mL3KtonjXvKyf9yoUMhR54FH2Crw4p+8QTcHYPP1w2zmry2P+xI1iPX6CGJwGfLuEBeXAFqXKPtWnEDIETfsdny5gXPQ6L4WudvCRdI1cPXcvgCUdbul1gTAa67YNk=
  • Spamdiagnosticmetadata: NSPM
  • Spamdiagnosticoutput: 1:99

Hello,


It obviously looks like group.name is null, but I'm not sure how that would hapen if you're just changing the name (and other attributes). I think this is different than GRP-1375, and I will investigate it separately.


So, can you privately send me the QA script that made the name/attribute changes to help me duplicate and fix this?


Thanks,

  Bert





From: <> on behalf of Shaun Koh <>
Sent: Tuesday, January 17, 2017 6:36 PM
To:
Subject: [grouper-users] Name null when adding group with subsequent update -- PSPNG
 

Hi there,

 

I require some assistance debugging an issue when one of our QA guys ran his script to create and subsequently update a group’s attributes (including its name) which resulted in PSPNG throwing the following error…

 

2017-01-18 11:57:12,944: [DefaultQuartzScheduler_Worker-5] INFO  Provisioner.provisionItem(862) -  - Not a supported change for finding subject (not MEMBERSHIP_ADD nor MEMBERSHIP_DELETE): ChangeLog type: group: addGroup

2017-01-18 11:57:12,945: [DefaultQuartzScheduler_Worker-5] DEBUG Provisioner.provisionItem(862) -  - Starting provisioning of item: ProvisioningWorkItem[clog=clog #11128 / ChangeLog type: group: addGroup,group=qa:NametestGrpAPI1_ea71d890-3d3e-41db-b4aa-f051cd9cb0f3]

2017-01-18 11:57:12,947: [DefaultQuartzScheduler_Worker-5] INFO  LdapGroupProvisioner.createGroup(231) -  - Creating LDAP group for GrouperGroup: null

2017-01-18 11:57:12,947: [DefaultQuartzScheduler_Worker-5] ERROR Provisioner.evaluateJexlExpression(515) -  - Jexl _expression_ dn: ${utils.bushyDn(group.name,"cn","ou")}

cn: ${grouperUtil.extensionFromName(name)}

objectclass: group could not be evaluated for subject 'null/null' and group 'null/null' which used variableMap '{userSearchBaseDn=${cleaned}, groupCreationBaseDn=${cleaned}, utils=edu.internet2.middleware.grouper.pspng.PspJexlUtils@2069756e, groupSearchBaseDn=${cleaned}, provisionerName=pspng_activedirectory, provisionerType=LdapGroupProvisioner}'

2017-01-18 11:57:12,947: [DefaultQuartzScheduler_Worker-5] ERROR ChangeLogHelper.processRecords(255) -  - Error

edu.internet2.middleware.grouper.exception.ExpressionLanguageMissingVariableException: variable 'group.name' is not defined in script: 'utils.bushyDn(group.name,"cn","ou")'

        …

Caused by: org.apache.commons.jexl2.JexlException: edu.internet2.middleware.grouper.util.GrouperUtil.substituteExpressionLanguage@9255![14,24]: 'utils.bushyDn(group.name, 'cn', 'ou');' undefined variable group.name

        …

2017-01-18 11:57:12,948: [DefaultQuartzScheduler_Worker-5] ERROR ChangeLogHelper.processRecords(286) -  - Did not get all the way through the batch! -1 != 11282

 

It seems that the JEXL variable ${group.name} isn’t defined for this case – wondering if this could be similar to GRP-1375 in the sense that PSPNG processed the addGroup after the group update had been done ?

 

Any help would be appreciated.

 

Best Regards,

Shaun K.




Archive powered by MHonArc 2.6.19.

Top of Page