grouper-users - [grouper-users] Name null when adding group with subsequent update -- PSPNG
Subject: Grouper Users - Open Discussion List
List archive
- From: Shaun Koh <>
- To: "" <>
- Subject: [grouper-users] Name null when adding group with subsequent update -- PSPNG
- Date: Tue, 17 Jan 2017 23:36:19 +0000
- Accept-language: en-US, en-NZ
- Ironport-phdr: 9a23:GwvSkxXlJX9bhzu7+IyxQYcohFLV8LGtZVwlr6E/grcLSJyIuqrYbBSEt8tkgFKBZ4jH8fUM07OQ6PG8HzdQqs/d+Fk5M7V0HycfjssXmwFySOWkMmbcaMDQUiohAc5ZX0Vk9XzoeWJcGcL5ekGA6ibqtW1aFRrwLxd6KfroEYDOkcu3y/qy+5rOaAlUmTaxe71/IRG5oAnLuMQbgoRuJrs+xxDUvnZGZuNayH9yK1mOhRj8/MCw/JBi8yRUpf0s8tNLXLv5caolU7FWFSwqPG8p6sLlsxnDVhaP6WAHUmoKiBpIAhPK4w/8U5zsryb1rOt92C2dPc3rUbA5XCmp4ql3RBP0jioMKjg0+3zVhMNtlqJWuBKvqQJizY7Ibo+bN/t+cb/Sct4BX2VNQtpdWjZdDo+gcYcCCfcKM+ZCr4n6olsDtQawBQm2C+PyzD9Dm3r43ao60+88FgzGxwwgEMgTsHTSttn1N6ASUeCuwabS0DXMc/BW2TPn54jObx8tu+uDUq5qfcrXyEgiDgXIhUiTp4z9Jz6Zy+oAv3SB4+Z+SO6iinQrpxxvrjWv3MsglIbEi4ENxlzZ+yh13Jw5KcOlREN6e9KoDZtduiKAO4Z5RM4pXntmtzwgyrIcvJ62ZCgKx4ojxx7Yc/GHdoeJ7x35WOmLPDd3mHFleLaliBa07Ees0PfzWdWu3FZMrytJitjMtnYT2BzP8sWLV/Vw8lu71TqRygze6/tILV0qmafbMZIt3LE9m5kLvUTGBCD2mUH2jKGMdkUj/+il8//nYrX8qZ+BMY94kAL+MqMumsGkG+s4LxQBX2uf+eum0r3s4Ff1T69WgfEslKnYsYjWJd4Hqa6hHw9VzoEj5g6wDze819QYgGEHI0xfeB6ekojpIE/BIOrjDfqkh1SskSxrx+zdPrH/GJnNL37DkKv/crZn7U5T1hYzwc5F651KF74BPaG7Zkik/tPCCQIhPhbx3v3qEs5V14UCVHiJD7PDdq7erBXAsu01JPSUaZVQpS3wMeMN5vjygGU/lENHO6SlwM1ERmq/G6FdI0yEZzLPhddJRXwKtxc4Cu/tiHWLTDVQY3+0U+Q17Xc9GtT1Xs/4WomxjenZj2+AFZpMazUeBw==
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. |
- [grouper-users] Name null when adding group with subsequent update -- PSPNG, Shaun Koh, 01/17/2017
- [grouper-users] Re: Name null when adding group with subsequent update -- PSPNG, Bee-Lindgren, Bert, 01/18/2017
- [grouper-users] RE: Name null when adding group with subsequent update -- PSPNG, Shaun Koh, 01/22/2017
- [grouper-users] Re: Name null when adding group with subsequent update -- PSPNG, Bee-Lindgren, Bert, 01/18/2017
Archive powered by MHonArc 2.6.19.