Project

General

Profile

Bug #7595

Internal Server Error when accessing getSubjectInfo()

Added by Lauren Walker over 8 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Ben Leinfelder
Category:
d1_identity_manager
Target version:
Start date:
2016-01-19
Due date:
% Done:

100%

Milestone:
None
Product Version:
*
Story Points:
Sprint:

Description

Example: https://cn.dataone.org/cn/v2/accounts/CN=NCEAS-interns,DC=dataone,DC=org

When I navigate to that URL, I get a 500 Internal Server Error message. I can see the group in the /accounts listing just fine (https://cn.dataone.org/cn/v2/accounts) so I know the group was created, at least.

Jessica Couture brought this issue to my attention. She created the group in MetacatUI on search.dataone.org today and got a message that the group was successfully created.

History

#1 Updated by Ben Leinfelder over 8 years ago

  • Status changed from New to In Progress
  • % Done changed from 0 to 30

Looking at the group in LDAP, there was a uniqueMember attribute with a blank value. After removing this attribute, the group was successfully retrieved via the rest endpoint.

I suspect there was a call made to add a group member who's subject was blank/empty.

#2 Updated by Ben Leinfelder over 8 years ago

  • Status changed from In Progress to Closed
  • Target version set to CCI-2.0.3
  • % Done changed from 30 to 100

Service impl now checking for empty member subjects and throwing an error if they are included in the updateGroup() and/or addGroup() methods.

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 14.8 MB)