[jboss-jira] [JBoss JIRA] Commented: (JBPORTAL-1559) HibernateMembershipModuleImpl assignUsers method : wrong error message
Boleslaw Dawidowicz (JIRA)
jira-events at lists.jboss.org
Mon Jul 9 14:00:31 EDT 2007
[ http://jira.jboss.com/jira/browse/JBPORTAL-1559?page=comments#action_12368271 ]
Boleslaw Dawidowicz commented on JBPORTAL-1559:
-----------------------------------------------
corrected in JBoss_Portal_Branch_2_6
my bad - thanks for the report Antoine!
I will close it after merging to the trunk
> 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