-
Type:
Bug
-
Status: Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 14.1.1
-
Component/s: self-service
-
Labels:
-
Target Version/s:
-
Sprint:AM Sustaining Sprint 45, AM Sustaining Sprint 46, AM Sustaining Sprint 47, AM Sustaining Sprint 48, AM Sustaining Sprint 49
-
Story Points:3
-
Needs backport:Yes
-
Support Ticket IDs:
-
Verified Version/s:
-
Needs QA verification:Yes
-
Functional tests:No
-
Are the reproduction steps defined?:Yes and I used the same an in the description
Bug description
When registering with self-service, in the case the datastore returns an ldap exception 19 (unique attribute conflict), HTTP 400 'Bad Request' error is returned.
How to reproduce the issue
- Enable attribute uniqueness on a DJ datastore, for example on the 'mail' attribute. https://backstage.forgerock.com/docs/ds/5.5/admin-guide/#enable-unique-attributes
- Enable self-service user registration with email verification disabled.
- Register a user with a 'mail' that already exists in the datastore
- AM debug log should show. "ERROR: IdServicesImpl.create: Create: Fatal Exception
Message:Plug-in org.forgerock.openam.idrepo.ldap.DJLDAPv3Repo encountered an ldap exception 19: A unique attribute conflict was detected"
Expected behaviour
An error message which helps explain that some input is not unique.
Current behaviour
REST endpoint userRegistration?_action=submitRequirements returns
{"code":400,"reason":"Bad Request","message":"Bad Request"}XUI shows "Unable to register your account. Bad Request"
- is duplicated by
-
OPENAM-11428 When using REST endpoint "json/users/?_action=create" with password policy violation, AM returns HTTP 400 "bad request", reason "Bad Request" , Message "Bad Request" (for non-Behera case)
-
- Resolved
-
- is related to
-
OPENAM-7669 Self-service registration should fail if email is not unique
-
- Reopened
-
- relates to
-
OPENAM-15434 Try registering again link does nothing when clicked
-
- Open
-
-
OPENAM-15637 Additional error message 'Detected Conflict in Request' when registering a user that already exists
-
- Open
-
-
OPENAM-12022 Self-service registration for existing user displays "Detected conflict in request"
-
- Resolved
-
- mentioned in
-
Page Loading...