junytse opened a new issue, #887:
URL: https://github.com/apache/directory-scimple/issues/887

   GET /Groups?attributes=displayName does not have `displayName` in the 
response.
   
   The passed in `attributes` and `excludedAttributes` are deserialized as 
`AttributeReference` with null `urn` by default, unless explicitly set.
   
   The root cause lies in 
https://github.com/apache/directory-scimple/blob/develop/scim-server/src/main/java/org/apache/directory/scim/server/rest/AttributeUtil.java#L292
   
   When `urn` is empty, it attempts to find the attributes in User and Group 
schema, in order.
   
   Normally it could find the correct attribute but not for `displayName`, 
which exists in both Users and Groups.
   
   Passing the full attribute name does not have the issue: GET 
/Groups?attributes=urn:ietf:params:scim:schemas:core:2.0:Group:displayName
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@directory.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@directory.apache.org
For additional commands, e-mail: dev-h...@directory.apache.org

Reply via email to