[jboss-jira] [JBoss JIRA] Created: (JBPORTAL-1559) HibernateMembershipModuleImpl assignUsers method : wrong error message
Antoine Herzog (JIRA)
jira-events at lists.jboss.org
Mon Jul 9 13:32:48 EDT 2007
HibernateMembershipModuleImpl assignUsers method : wrong error message
----------------------------------------------------------------------
Key: JBPORTAL-1559
URL: http://jira.jboss.com/jira/browse/JBPORTAL-1559
Project: JBoss Portal
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Portal Identity
Affects Versions: 2.6 Final
Environment: JBP2.6.0
Reporter: Antoine Herzog
Priority: Minor
Fix For: 2.6.1 Final
In HibernateMembershipModuleImpl
In method : public void assignUsers(Role role, Set users) throws IdentityException
the exception messages have been copied from the assignRole, and are confusing (user/role inversion) :
"User is not a HibernateRoleImpl user"
should be : "Role is not a HibernateRoleImpl role"
and
"Only HibernateUserImpl roles can be accepted"
should be : "Only HibernateUserImpl users can be accepted"
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list