Unique constraint violation when adding 'admin' role to a non-admin user
------------------------------------------------------------------------
Key: REGISTRY-165
URL: http://wso2.org/jira/browse/REGISTRY-165
Project: WSO2 Registry
Issue Type: Bug
Environment: ubuntu
Reporter: Charitha Kankanamge
Assigned To: Chathura Ekanayake
Priority: Critical
Following error occurs when adding admin role to a non-admin user.
Could not add the user admin to the role admin. Caused by: Error adding user to
role. Violation of unique constraint SYS_CT_144: duplicate value(s) for
column(s) $$ in statement [insert into um_user_roles (id, user_id, role_id)
values (?, ?, ?)]
Steps to reproduce:
===============
1. Log in as admin
2. Create a new user
3. Try to add 'Admin' role to the new user
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://wso2.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
Registry-dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/registry-dev