Closed Lakshan-Banneheke closed 7 months ago
Following error response will be thrown from the API for such inputs.
"schemas": [
"urn:ietf:params:scim:api:messages:2.0:Error"
],
"detail": "Group name: Internal/galle contains a system reserved domain name",
"status": "400"
}
Describe the issue: A null pointer exception is thrown in the server when attempting to create group with name "Internal/abcd". Seems like group names with the keyword "Internal/" are handled separately (In IS 6.1.0, creating a group with name "Internal/abcd" creates a role with the name "abcd").
Furthermore, a 200 response is received when this operation is done as well, even though there is an internal server error.
How to reproduce: Go to groups page and try to create a group with name "Internal/abcd"
Expected behavior: The previous behaviour in IS 6.1 where a role is created with name "abcd" when a group with name "Internal/abcd" is created should not be present in IS 7 as per discussion with @ashensw . However, the following needs to be fixed.
Environment information (Please complete the following information; remove any unnecessary fields) :