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: "Hyzer, Chris" <>
  • To: " Mailing List" <>
  • Cc: "Redman, Chad" <>
  • Subject: [grouper-users] RE: [JIRA] (GRP-1548) Edit LDAP Loader in UI fails when legacy group type doesn't exist
  • Date: Wed, 28 Jun 2017 20:02:11 +0000
  • Accept-language: en-US
  • Authentication-results: internet2.edu; dkim=none (message not signed) header.d=none;internet2.edu; dmarc=none action=none header.from=isc.upenn.edu;
  • Ironport-phdr: 9a23:Pv+KQhJU78ZgW6ZxKNmcpTZWNBhigK39O0sv0rFitYgUKfrxwZ3uMQTl6Ol3ixeRBMOAtKIC1rKempujcFJDyK7JiGoFfp1IWk1NouQttCtkPvS4D1bmJuXhdS0wEZcKflZk+3amLRodQ56mNBX660e/5j8KGxj5KRE9ZqGsQtaT3IyL0LX49IfUfh1Fnn+ger5oNz23qxncrM8bndEkJ6osgj7Ao39Jfese4WJzORjbyxnm4dqo8YQm7j9doekJ9shcXL/8crhiC7FUEWJ1HXoy4ZihlQjRQBHLrlAcSGQN2FIcBgPF/QP3RL/wqSC8q/Jw3i/cMMHrG+NnEQ++5rtmHUe7wBwMMCQ0pSSO0pR9
  • Spamdiagnosticmetadata: NSPM
  • Spamdiagnosticoutput: 1:99

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, Hyzer, Chris, 06/28/2017

Archive powered by MHonArc 2.6.19.

Top of Page