[jboss-jira] [JBoss JIRA] Commented: (JBPORTAL-1570) make identity modules implementation handle CachedUserImpl properly

Boleslaw Dawidowicz (JIRA) jira-events at lists.jboss.org
Wed Jul 11 06:07:46 EDT 2007


    [ http://jira.jboss.com/jira/browse/JBPORTAL-1570?page=comments#action_12368555 ] 
            
Boleslaw Dawidowicz commented on JBPORTAL-1570:
-----------------------------------------------

... and proper test case :)

> make identity modules implementation handle CachedUserImpl properly
> -------------------------------------------------------------------
>
>                 Key: JBPORTAL-1570
>                 URL: http://jira.jboss.com/jira/browse/JBPORTAL-1570
>             Project: JBoss Portal
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: Portal Identity
>    Affects Versions: 2.6 Final
>            Reporter: Boleslaw Dawidowicz
>         Assigned To: Boleslaw Dawidowicz
>             Fix For: 2.6.1 Final, 2.8 Final
>
>
> When CachedUserImpl object is passed to identity modules it should be handled properly - not throw 
> 'java.lang.IllegalArgumentException: User is not a HibernateUserImpl user' exception
> In such cases a fresh instance need to be retrieved:
> user = userModule.findUserById(user.getId());	

-- 
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