[ https://issues.apache.org/jira/browse/SLING-1208?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12785938#action_12785938 ]
Felix Meschberger commented on SLING-1208: ------------------------------------------ The problem is an API change in Jackrabbit 1.6: Either the getApplicablePolicies or the getPolicies method returns access control policies but not both. The fix applied in Rev. 887198 is to first call getPolicies. If this returns an AccessControlList we use it. If not we call getApplicablePolicies (if it makes sense). If this still does not return anything (or does not make sense calling), an exception is thrown. > Integration test failures after upgrading to Jackrabbit 1.6 > ----------------------------------------------------------- > > Key: SLING-1208 > URL: https://issues.apache.org/jira/browse/SLING-1208 > Project: Sling > Issue Type: Bug > Components: JCR > Affects Versions: JCR Jackrabbit User Manager 2.0.2 > Reporter: Felix Meschberger > Fix For: JCR Jackrabbit User Manager 2.0.4 > > > After applying the patch for SLING-1190, some integration tests fail > (reported by Justin Edelson and also seen by me): > Failed tests: > > testRemoveAce(org.apache.sling.launchpad.webapp.integrationtest.accessManager.RemoveAcesTest) > > testRemoveAces(org.apache.sling.launchpad.webapp.integrationtest.accessManager.RemoveAcesTest) > > testChangeUserPasswordWrongOldPwd(org.apache.sling.launchpad.webapp.integrationtest.userManager.UpdateUserTest) > Tests in error: > > testCreateUser(org.apache.sling.launchpad.webapp.integrationtest.userManager.CreateUserTest) > > testCreateUserWithExtraProperties(org.apache.sling.launchpad.webapp.integrationtest.userManager.CreateUserTest) > > testCreateGroup(org.apache.sling.launchpad.webapp.integrationtest.userManager.CreateGroupTest) > > testCreateGroupWithExtraProperties(org.apache.sling.launchpad.webapp.integrationtest.userManager.CreateGroupTest) > This should be further invetigated. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.