You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Michael Dürig (JIRA)" <ji...@apache.org> on 2013/06/12 10:12:20 UTC
[jira] [Resolved] (OAK-864) MicroKernelException when moving a node
to its own descendant
[ https://issues.apache.org/jira/browse/OAK-864?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Dürig resolved OAK-864.
-------------------------------
Resolution: Fixed
Fix Version/s: 0.9
Fixed at r1492103
> MicroKernelException when moving a node to its own descendant
> --------------------------------------------------------------
>
> Key: OAK-864
> URL: https://issues.apache.org/jira/browse/OAK-864
> Project: Jackrabbit Oak
> Issue Type: Bug
> Components: core, jcr
> Reporter: Michael Dürig
> Assignee: Michael Dürig
> Fix For: 0.9
>
>
> Moving a node to a descendant of itself (e.g {{>/s : /s/t}}) results in a {{MicroKernelException}}.
> * Should be a {{RepositoryException}} in the case of {{Session.move}}
> * Should return {{false}} in the case of {{Root.move}}
> {code}
> org.apache.jackrabbit.mk.api.MicroKernelException: java.lang.Exception: target path cannot be descendant of source path: /s/t
> at org.apache.jackrabbit.mk.core.MicroKernelImpl.commit(MicroKernelImpl.java:515)
> at org.apache.jackrabbit.oak.kernel.KernelNodeStoreBranch.commit(KernelNodeStoreBranch.java:226)
> at org.apache.jackrabbit.oak.kernel.KernelNodeStoreBranch.move(KernelNodeStoreBranch.java:112)
> at org.apache.jackrabbit.oak.core.RootImpl.move(RootImpl.java:193)
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira