Return-Path: Delivered-To: apmail-portals-jetspeed-dev-archive@www.apache.org Received: (qmail 48982 invoked from network); 2 Mar 2010 20:23:54 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 2 Mar 2010 20:23:54 -0000 Received: (qmail 21689 invoked by uid 500); 2 Mar 2010 20:23:49 -0000 Delivered-To: apmail-portals-jetspeed-dev-archive@portals.apache.org Received: (qmail 21662 invoked by uid 500); 2 Mar 2010 20:23:49 -0000 Mailing-List: contact jetspeed-dev-help@portals.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Jetspeed Developers List" Delivered-To: mailing list jetspeed-dev@portals.apache.org Received: (qmail 21654 invoked by uid 99); 2 Mar 2010 20:23:49 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Mar 2010 20:23:49 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Mar 2010 20:23:48 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 474ED234C4BE for ; Tue, 2 Mar 2010 20:23:27 +0000 (UTC) Message-ID: <2040418337.14851267561407291.JavaMail.jira@brutus.apache.org> Date: Tue, 2 Mar 2010 20:23:27 +0000 (UTC) From: "Ate Douma (JIRA)" To: jetspeed-dev@portals.apache.org Subject: [jira] Assigned: (JS2-1039) OutOfMemoryError when trying to add a role to a user, if the user has already that role In-Reply-To: <1192458662.1246367567405.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/JS2-1039?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ate Douma reassigned JS2-1039: ------------------------------ Assignee: Ate Douma > 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 > Assignee: Ate Douma > 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