You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Michael Dürig (JIRA)" <ji...@apache.org> on 2010/09/09 14:30:35 UTC

[jira] Resolved: (JCR-2743) ClassCastException in GroupImpl.isCyclicMembership

     [ https://issues.apache.org/jira/browse/JCR-2743?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Dürig resolved JCR-2743.
--------------------------------

    Fix Version/s: 2.2.0
       Resolution: Fixed

Fixed at revision 995401

> 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ürig
>            Assignee: Michael Dürig
>             Fix For: 2.2.0
>
>
> 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. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.