[Registry-dev] [jira] Resolved: (REGISTRY-165) Unique constraint violation when adding 'admin' role to a non-admin user

Chathura Ekanayake (JIRA) jira at wso2.org
Wed Jan 30 04:25:00 PST 2008


     [ http://wso2.org/jira/browse/REGISTRY-165?page=all ]

Chathura Ekanayake resolved REGISTRY-165.
-----------------------------------------

    Resolution: Fixed

> 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

        



More information about the Registry-dev mailing list