Project

General

Profile

Actions

bug #4573

closed

Handle duplicate username, group or grantedAuthority correctly

Added by Andreas Müller about 8 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Priority13
Assignee:
Category:
taxeditor
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:
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.

Actions #1

Updated by Cherian Mathew almost 8 years ago

  • Target version deleted ()

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

Actions #2

Updated by Andreas Müller over 7 years ago

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

Updated by Andreas Müller over 4 years 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.

Actions #4

Updated by Andreas Müller over 4 years ago

  • Private changed from Yes to No
Actions #5

Updated by Andreas Müller over 4 years ago

  • Target version changed from Release 5.1 to Release 5.2
Actions #6

Updated by Andreas Müller over 4 years ago

  • Target version changed from Release 5.2 to Release 5.3
Actions #7

Updated by Katja Luther over 4 years ago

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

Actions #8

Updated by Katja Luther over 4 years ago

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

please review

Actions #9

Updated by Katja Luther over 4 years ago

  • % Done changed from 0 to 80
Actions #10

Updated by Andreas Müller over 4 years ago

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

Works fine

Actions

Also available in: Atom PDF