Project

General

Profile

bug #4573

Handle duplicate username, group or grantedAuthority correctly

Added by Andreas Müller almost 4 years ago. Updated 3 months ago.

Status:
Closed
Priority:
Priority13
Assignee:
Category:
taxeditor
Target version:
Start date:
03/16/2015
Due date:
% Done:

100%

Severity:
normal
Found in Version:

Description

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.

Associated revisions

Revision 9122a3ce (diff)
Added by Katja Luther 4 months ago

ref #4573: handle duplicate user and group name in editor

Revision bb5d8aed (diff)
Added by Katja Luther 4 months ago

ref #4573: handle duplicate grantedAuthority in editor

History

#1 Updated by Cherian Mathew over 3 years ago

  • Target version deleted ()

Moving tickets that were auto assigned to me to the unassigned milestone

#2 Updated by Andreas Müller over 3 years ago

  • Target version deleted ()
  • Priority changed from New to Priority13

#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.

#4 Updated by Andreas Müller 7 months ago

  • Private changed from Yes to No

#5 Updated by Andreas Müller 6 months ago

  • Target version changed from Release 5.1 to Release 5.2

#6 Updated by Andreas Müller 4 months ago

  • Target version changed from Release 5.2 to Release 5.3

#7 Updated by Katja Luther 4 months ago

now for users and groups there is a check for identical names and a message that the user/group already exists, pops up.

#8 Updated by Katja Luther 4 months ago

  • Status changed from In Progress to Resolved
  • Assignee changed from Katja Luther to Andreas Müller

please review

#9 Updated by Katja Luther 4 months ago

  • % Done changed from 0 to 80

#10 Updated by Andreas Müller 3 months ago

  • Status changed from Resolved to Closed
  • Assignee changed from Andreas Müller to Katja Luther
  • % Done changed from 80 to 100

Works fine

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 40 MB)