[ http://wso2.org/jira/browse/REGISTRY-125?page=all ]
Deepal Jayasinghe updated REGISTRY-125:
---------------------------------------
Attachment License: I agree to grant a license to WSO2 for this work for
inclusion in WSO2 works as per the <a
href="http://wso2.org/files/wso2-cla.pdf">WSO2 Contributor License Agreemen</a>
and the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License
2.0</a>
Do not display DB errors
> Error shown if user try to add same role more than one time to same user.
> -------------------------------------------------------------------------
>
> Key: REGISTRY-125
> URL: http://wso2.org/jira/browse/REGISTRY-125
> Project: WSO2 Registry
> Issue Type: Bug
> Affects Versions: SNAPSHOT
> Environment: Ubuntu 7.10, JDK 1.5.0_08, tomcat 6.0.14, Firefox/2.0.0.8
> Reporter: Krishantha Samaraweera
> Assigned To: Chathura Ekanayake
> Priority: Minor
>
> How to recreate:
> 1. login as admin
> 2. "Add a new user" with role guest
> 3. now to to "Add roles to User" pane by clicking the name link of newly
> create user.
> 4. add the role admin to user.
> 5. try to add admin role again to the user.
> Following error message will be shown.
> Could not add the user yyyy to the role admin. Caused by: Error adding user
> to role. Violation of unique constraint SYS_CT_143: duplicate value(s) for
> column(s) $$ in statement [insert into um_user_roles (id, user_id, role_id)
> values (?, ?, ?)]
> better to hide already added roles from the drop down for selected user. Else
> system can come up with a proper waning message rather than showing the
> technical error message to the 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