-
Type:
Bug
-
Status: Resolved
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 10.10
-
Fix Version/s: 10.10-HF52, 2021.8
-
Component/s: User Registration
-
Release Notes Summary:User creation returns a HTTP 409 when the user already exists.
-
Tags:
-
Backlog priority:550
-
Sprint:nxplatform #41, nxplatform #42
-
Story Points:2
Steps to reproduce:
- create a first user whose username is jdoe
- go back to the user creation form
- fill the fields and use the same value "jdoe" for the username
- click on the Create button and observe that no error is displayed
The problem can be observed either when
1) you do not define a password. In this case,
- you have this message in the browser console
POST http://localhost:8080/nuxeo/api/v1/automation/User.Invite 500 Operation request failed: Error
- you have this error in the server logs
ERROR [WebEngineExceptionMapper] org.nuxeo.ecm.platform.usermanager.exceptions.UserAlreadyExistsException: Failed to invoke operation: User.Invite, Failed to invoke operation User.Invite, null org.nuxeo.ecm.platform.usermanager.exceptions.UserAlreadyExistsException: Failed to invoke operation: User.Invite, Failed to invoke operation User.Invite, null
2) you define a password: In this case, only an error is displayed in the browser console
POST http://localhost:8080/nuxeo/api/v1/user 409
Resource request failed: User already exists
Expected behavior: in both cases, a message should warn the current actor that the user already exists.
- Is referenced in