You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-dev@portals.apache.org by "Ate Douma (JIRA)" <je...@portals.apache.org> on 2010/02/18 15:27:27 UTC

[jira] Updated: (JS2-1039) OutOfMemoryError when trying to add a role to a user, if the user has already that role

     [ 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: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org