[ 
https://issues.apache.org/jira/browse/JS2-1039?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ate Douma updated JS2-1039:
---------------------------

    Fix Version/s: 2.2.1

> OutOfMemoryError when trying to add a role to a user, if the user has already 
> that role
> ---------------------------------------------------------------------------------------
>
>                 Key: JS2-1039
>                 URL: https://issues.apache.org/jira/browse/JS2-1039
>             Project: Jetspeed 2
>          Issue Type: Bug
>          Components: Security
>    Affects Versions: 2.2.0
>         Environment: Windows XP, Jre 1.6.0.11, Tomcat 6.0.18, LDAP integrated 
> to Apache DS 1.5.4
>            Reporter: Aysegul Aydin Isiktekin
>            Priority: Critical
>             Fix For: 2.2.1
>
>         Attachments: patch.txt
>
>
> When trying to add a role to a user, if the user already has that role, 
> OutOfMemoryError occurs. Error is caused by 
> org.apache.jetspeed.security.mapping.model.impl.AttributeImpl toString 
> method. It causes an infinite loop is the attribute is multi-valued.
> PS: j2-admin user management portlet does not let you to add the role to the 
> user more than once, but programmatically one can add the role to the user.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to