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 "Aysegul Aydin Isiktekin (JIRA)" <je...@portals.apache.org> on 2009/06/30 15:12:47 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 ]

Aysegul Aydin Isiktekin updated JS2-1039:
-----------------------------------------

    Attachment: patch.txt

SVN Patch for fixing the error.

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