Return-Path: Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: (qmail 4319 invoked from network); 9 Sep 2010 11:35:02 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 9 Sep 2010 11:35:02 -0000 Received: (qmail 97607 invoked by uid 500); 9 Sep 2010 11:35:02 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 97332 invoked by uid 500); 9 Sep 2010 11:34:59 -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 97324 invoked by uid 99); 9 Sep 2010 11:34:58 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Sep 2010 11:34:58 +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:34:56 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o89BYYYN018834 for ; Thu, 9 Sep 2010 11:34:34 GMT Message-ID: <27041837.94901284032074594.JavaMail.jira@thor> Date: Thu, 9 Sep 2010 07:34:34 -0400 (EDT) From: =?utf-8?Q?Michael_D=C3=BCrig_=28JIRA=29?= To: dev@jackrabbit.apache.org Subject: [jira] Commented: (JCR-2743) ClassCastException in GroupImpl.isCyclicMembership In-Reply-To: <13110600.94881284031954763.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/JCR-2743?page=3Dcom.atlassian.j= ira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D129075= 97#action_12907597 ]=20 Michael D=C3=BCrig commented on JCR-2743: ------------------------------------ BTW this was introduced with JCR-2726 > 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) i= s not honored correctly when constructing the transitive membership relatio= n.=20 --=20 This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.