From dev-return-29265-apmail-jackrabbit-dev-archive=jackrabbit.apache.org@jackrabbit.apache.org Thu Sep 09 11:33:13 2010 Return-Path: Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: (qmail 2244 invoked from network); 9 Sep 2010 11:33:03 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 9 Sep 2010 11:33:03 -0000 Received: (qmail 92141 invoked by uid 500); 9 Sep 2010 11:33:02 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 91655 invoked by uid 500); 9 Sep 2010 11:32:58 -0000 Mailing-List: contact dev-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@jackrabbit.apache.org Delivered-To: mailing list dev@jackrabbit.apache.org Received: (qmail 91225 invoked by uid 99); 9 Sep 2010 11:32:55 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Sep 2010 11:32:55 +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.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Sep 2010 11:32:55 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o89BWY69018821 for ; Thu, 9 Sep 2010 11:32:34 GMT Message-ID: <13110600.94881284031954763.JavaMail.jira@thor> Date: Thu, 9 Sep 2010 07:32:34 -0400 (EDT) From: =?utf-8?Q?Michael_D=C3=BCrig_=28JIRA=29?= To: dev@jackrabbit.apache.org Subject: [jira] Created: (JCR-2743) ClassCastException in GroupImpl.isCyclicMembership MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 ClassCastException in GroupImpl.isCyclicMembership -------------------------------------------------- Key: JCR-2743 URL: https://issues.apache.org/jira/browse/JCR-2743 Project: Jackrabbit Content Repository Issue Type: Bug Components: jackrabbit-core Affects Versions: 2.2.0 Reporter: Michael D=C3=BCrig Assignee: Michael D=C3=BCrig Given three groups and one user with the following membership relation group1 > group2 > group3 group2 > user where x > y means x contains y. group3.addMember(group1) throws a ClassCastException. The reason is that the search type (i.e. UserManager.SEARCH_TYPE_GROUP) is = not honored correctly when constructing the transitive membership relation.= =20 --=20 This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.