Bug #7595
Internal Server Error when accessing getSubjectInfo()
100%
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 almost 9 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 almost 9 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.