[
https://issues.apache.org/jira/browse/JCR-2877?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12992402#comment-12992402
]
Claus Köll commented on JCR-2877:
---------------------------------
Is there a way to determine the name of the node. The child node must add
itself to its parent node but normally only the parent knows the name of the
child node ?
> Extend the consistency check in BundleDbPersistenceManager's to fix
> child-parent relations
> ------------------------------------------------------------------------------------------
>
> Key: JCR-2877
> URL: https://issues.apache.org/jira/browse/JCR-2877
> Project: Jackrabbit Content Repository
> Issue Type: Improvement
> Components: jackrabbit-core
> Affects Versions: 2.2.2
> Reporter: Claus Köll
> Assignee: Claus Köll
> Priority: Minor
> Fix For: 2.3.0
>
>
> It could happen that a child node is not in the ChildNodeEntries of its
> parent node.
> You will get something like (javax.jcr.ItemNotFoundException: failed to build
> path of node1: parentNode has no child entry for node1) if you try to
> retrieve the path from node1.
> We should handle such cases and fix it on consistency check
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira