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: Shaun Koh <>
  • To: "Bee-Lindgren, Bert" <>, "" <>
  • Subject: [grouper-users] RE: Name null when adding group with subsequent update -- PSPNG
  • Date: Sun, 22 Jan 2017 21:39:09 +0000
  • Accept-language: en-US, en-NZ
  • Ironport-phdr: 9a23:6jE7FBGr8QL3570zD+u4U51GYnF86YWxBRYc798ds5kLTJ7yp8SwAkXT6L1XgUPTWs2DsrQf2raQ7/+rADFYqb+681k6OKRWUBEEjchE1ycBO+WiTXPBEfjxciYhF95DXlI2t1uyMExSBdqsLwaK+i764jEdAAjwOhRoLerpBIHSk9631+ev8JHPfglEnjSwbLd9IRmsogjctMYajZZiJ6ot1xDEvmZGd+NKyG1yOFmdhQz85sC+/J5i9yRfpfcs/NNeXKv5Yqo1U6VWACwpPG4p6sLrswLDTRaU6XsHTmoWiBtIDBPb4xz8Q5z8rzH1tut52CmdIM32UbU5Uims4qt3VBPljjoMOiUn+2/LlMN/kKNboAqgpxNhxY7UfJqVP+d6cq/EYN8WWXZNUsNXWidcAI2zcpEPAvIBM+hGsof9u1UAoxiwBQauBePg1jBHi2Ts0qEmz+gsCx3K0BA+E98IrX/arM/1NKAXUe2t0afIzS/Mb+5Q2Tzg7YbIdRAhquyLULJrccre01QvFwXfglWTrozlPyiY2f4Qs2eH7OpgUfigi2g6pA1ruDeg2t0gio/Ih48MzF3P6CZ3wJ4tKNGlRkN3fcSoHIVNuyybLYd6X90uTmFytCokxbALuoa3cDUExZg73RLTdeGLfomS7h7+VOucIi10iX1jdbminRi961Kgxff5VsSs0FZFsC5Fkt7Uu3AI2B3e5dKLReFg/ki92jaP0xrc6udZLkwuj6XUN4Qtwrgxl5YLsETDGDH5mFnugaOLeEgo5vKk5/r6brjnvJOQKpF4hwHkPqgwlcGyAvw0Mg0UUGia/eS82qfj/Ur8QLhSlf02krPWsI3cJcgBpa65BA9V35055BaiEzim09AYkmMBLF1YYh6IlZTmN0vIIPH5Ffu/mUijkC93x/DaOb3sGprNLmLEkLf8ZbZy9VRcxBMuzdBE+Z1UEKoBLen3Wk/wr9zYEgQ5PxKuz+bmDtV9yp0RWXiJAqCHLKPer0WE6fwyLOmRN8cpv2O3AfUootrvi3M2g1IbOeGD0IELIjjsFPl8PwOTbHephtYHHWgQswwWS+32zlKLTTNYZzC/U79qonlxB5ihEJ/OXMWwm7Gbxw+6GIFbfGZLFgrKHHv1Pc3QVO0LdTqfOIp8iTEeTpCgTZMszxejqFW8xrZ6eLn64Cod4Knj3cVzr87UlVlm7jx9EsLb0GaNZ2hplWAMTjk6mql050pvnATQmZNkiuBVQIQAr8hCVR03YNuFl7R3

Hi Bert,

 

Hope you had a good weekend.

 

Just wanted to know if you were receiving the emails I’ve sent in response to the below last week.

 

Best Regards,

Shaun K.

 

From: Bee-Lindgren, Bert [mailto:]
Sent: Wednesday, 18 January 2017 1:05 p.m.
To: Shaun Koh;
Subject: Re: Name null when adding group with subsequent update -- PSPNG

 

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}, , 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: ]: '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