portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aysegul Aydin Isiktekin (JIRA)" <jetspeed-...@portals.apache.org>
Subject [jira] Created: (JS2-1039) OutOfMemoryError when trying to add a role to a user, if the user has already that role
Date Tue, 30 Jun 2009 13:12:47 GMT
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


Mime
View raw message