[jboss-jira] [JBoss JIRA] Assigned: (JBPORTAL-1559) HibernateMembershipModuleImpl assignUsers method : wrong error message
Boleslaw Dawidowicz (JIRA)
jira-events at lists.jboss.org
Mon Jul 9 13:56:31 EDT 2007
[ http://jira.jboss.com/jira/browse/JBPORTAL-1559?page=all ]
Boleslaw Dawidowicz reassigned JBPORTAL-1559:
---------------------------------------------
Assignee: Boleslaw Dawidowicz
> 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
> Assigned To: Boleslaw Dawidowicz
> 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