Handle duplicate username, group or grantedAuthority correctly
Since 3.4 it is not allowed to create users, groups or GrantedAuthorities with non-unique username, groupname or GrantedAuthority.
If you do so, however, you only get an "unexpected error exception" when trying to save the new record.
Wanted behavior is to not allow to create a duplicate name at all. But atleast the error handling should be more specific.
#3 Updated by Andreas Müller 7 months ago
- Description updated (diff)
- Status changed from New to In Progress
- Assignee changed from Cherian Mathew to Katja Luther
- Target version changed from Reviewed Next Major Release to Release 5.1
This seems to be partly fixed as a message saying that the user exists already in the DB pops up. Unfortunately a second message pops up with the old "unexpected exception" message. We still need to remove this.
Please do not forget closing parent ticket once #5624 is also closed.