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
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.