Skip to Content.
Sympa Menu

grouper-users - [grouper-users] RE: [JIRA] (GRP-1548) Edit LDAP Loader in UI fails when legacy group type doesn't exist

Subject: Grouper Users - Open Discussion List

List archive

[grouper-users] RE: [JIRA] (GRP-1548) Edit LDAP Loader in UI fails when legacy group type doesn't exist


Chronological Thread 
  • From: "Redman, Chad" <>
  • To: "Hyzer, Chris" <>, " Mailing List" <>
  • Subject: [grouper-users] RE: [JIRA] (GRP-1548) Edit LDAP Loader in UI fails when legacy group type doesn't exist
  • Date: Fri, 14 Jul 2017 16:58:28 +0000
  • Accept-language: en-US
  • Authentication-results: isc.upenn.edu; dkim=none (message not signed) header.d=none;isc.upenn.edu; dmarc=none action=none header.from=unc.edu;
  • Ironport-phdr: 9a23:iR8xmRaFqkdjpwLLE7fL2Hr/LSx+4OfEezUN459isYplN5qZpcm4bnLW6fgltlLVR4KTs6sC0LWG9f24EUU7or+/81k6OKRWUBEEjchE1ycBO+WiTXPBEfjxciYhF95DXlI2t1uyMExSBdqsLwaK+i76vnYuHUC1FRtnK/6xUqXSlcWsnajm/pbTchdFnhK8erg0MQ27qwOXu8UL188qYKkrzQbRr2ENZv9b33hAJFSPkgz669vqupNv7mx1svMl9shPGYH7ZLhyBehXFjM7K20vodDwuAPYZQqJ+nYGVGgKyFxFDxWTvz/gWZKk+BH3uu903m3SFs3/Qfp8DT+i5qtcUhLkjS4BHyM/+yfahtEm3/ETmw6ouxEqm92cW4qSLvcrJq4=
  • Spamdiagnosticmetadata: NSPM
  • Spamdiagnosticoutput: 1:99

Yep, looks like it's working for us. Just testing on a local installation,
but the setup matches production pretty well.

Incidentally, we just started working on our first SQL group_list job, which
we had never used until now. This has the same error as the LDAP jobs did,
except now it's looking for
etc:legacy:attribute:legacyGroupType_grouperLoader, which doesn't exist for
us. In this case however, all the wiki docs and source code suggest it really
is still on the legacy attribute model. We can add the missing legacy group
types as per the wiki, but I wanted to make sure that was the correct
approach.

Thanks,
Chad


-----Original Message-----
From: Hyzer, Chris
[mailto:]

Sent: Wednesday, June 28, 2017 4:02 PM
To:

Mailing List
<>
Cc: Redman, Chad
<>
Subject: RE: [JIRA] (GRP-1548) Edit LDAP Loader in UI fails when legacy group
type doesn't exist

This is fixed in grouper 2.3.0 ui patch #31. Try it and let me know

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

Thanks
Chris

-----Original Message-----
From: Chad Redman (JIRA)
[mailto:]

Sent: Tuesday, May 30, 2017 2:04 PM
To: Hyzer, Chris
<>
Subject: [JIRA] (GRP-1548) Edit LDAP Loader in UI fails when legacy group
type doesn't exist

Chad Redman created GRP-1548:
--------------------------------

Summary: Edit LDAP Loader in UI fails when legacy group type
doesn't exist
Key: GRP-1548
URL: https://bugs.internet2.edu/jira/browse/GRP-1548
Project: Grouper
Issue Type: Bug
Components: UI
Affects Versions: 2.4.0, 2.3.0.patch
Reporter: Chad Redman
Assignee: Chris Hyzer


The Loader edit function added in UI patch #23 works for us when creating a
new Loader job, but does not allow us to edit an existing one. The UI error
is "Error: Problem calling method editGrouperLoaderSave on
edu.internet2.middleware.grouper.grouperUi.serviceLogic.UiV2GrouperLoader".

The offending line appears to be when removing the attribute for the existing
loader job. It searches for attribute def name
etc:legacy:attribute:legacyGroupType_grouperLoader, which on our system does
not exist. We only started using LDAP Loader jobs after migrating to 2.3.0.
The group I was trying to edit only had attribute
etc:attribute:loaderLdap:grouperLoaderLdap.

If I step through the UI code at that point and change the attribute to
retrieve etc:attribute:loaderLdap:grouperLoaderLdap instead, this does delete
the attribute and recreate it successfully.

Snipped stack trace:


{code:java}
java.lang.NullPointerException: Problem calling method editGrouperLoaderSave
on edu.internet2.middleware.grouper.grouperUi.serviceLogic.UiV2GrouperLoader
at
edu.internet2.middleware.grouper.attr.assign.AttributeAssignGroupDelegate.assertCanUpdateAttributeDefName(AttributeAssignGroupDelegate.java:107)
at
edu.internet2.middleware.grouper.attr.assign.AttributeAssignBaseDelegate.removeAttributeHelper(AttributeAssignBaseDelegate.java:616)
at
edu.internet2.middleware.grouper.attr.assign.AttributeAssignBaseDelegate.removeAttribute(AttributeAssignBaseDelegate.java:602)
at
edu.internet2.middleware.grouper.attr.assign.AttributeAssignBaseDelegate.removeAttribute(AttributeAssignBaseDelegate.java:368)
at
edu.internet2.middleware.grouper.grouperUi.serviceLogic.UiV2GrouperLoader.editGrouperLoaderSave(UiV2GrouperLoader.java:968)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
...
{code}




--
This message was sent by Atlassian JIRA
(v7.2.6#72008)


  • [grouper-users] RE: [JIRA] (GRP-1548) Edit LDAP Loader in UI fails when legacy group type doesn't exist, Redman, Chad, 07/14/2017

Archive powered by MHonArc 2.6.19.

Top of Page