[
https://issues.apache.org/jira/browse/SLING-1237?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12842283#action_12842283
]
Eric Norman commented on SLING-1237:
------------------------------------
I tried to reproduce this issue on the latest code and was unable to cause the
failure. Perhaps the upgrade to jackrabbit 2.0 has resolved the problem. Can
you please re-test on the latest sling code?
> Odd behavior from jackrabbit-usermanager group.delete
> -----------------------------------------------------
>
> Key: SLING-1237
> URL: https://issues.apache.org/jira/browse/SLING-1237
> Project: Sling
> Issue Type: Bug
> Components: JCR
> Affects Versions: JCR Jackrabbit User Manager 2.0.4
> Reporter: Ray Davis
>
> (This is from a build of rev 889246.)
> Deleting a group which has a member throws an error. Trying to look at the
> group afterwards throws an error. Trying to recreate the group afterward
> throws an error. But then the group seems to have been recreated successfully.
> curl -u admin:admin -F :name=agroup
> http://localhost:8080/system/userManager/group.create.html
> curl -u admin:admin http://localhost:8080/system/userManager/group/agroup.json
> {}
> curl -u admin:admin -F :member=nico
> http://localhost:8080/system/userManager/group/agroup.update.html
> curl -u admin:admin -X POST
> http://localhost:8080/system/userManager/group/agroup.delete.html
> Error while processing /system/userManager/group/agroup
> javax.jcr.ReferentialIntegrityException:
> 901c8411-932e-40b1-bf19-7b675b6dfb81: the node cannot be removed because it
> is still being referenced.
> curl -u admin:admin http://localhost:8080/system/userManager/group/agroup.json
> 404 No resource found
> curl -u admin:admin -F :name=agroup
> http://localhost:8080/system/userManager/group.create.html
> Error while processing /system/userManager/group
> javax.jcr.RepositoryException: Failed to create new group.:
> 901c8411-932e-40b1-bf19-7b675b6dfb81: the node cannot be removed because it
> is still being referenced.: 901c8411-932e-40b1-bf19-7b675b6dfb81: the node
> cannot be removed because it is still being referenced.
> curl -u admin:admin http://localhost:8080/system/userManager/group/agroup.json
> {}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.