You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Bart van der Schans (JIRA)" <ji...@apache.org> on 2011/02/03 14:14:28 UTC

[jira] Commented: (JCR-2877) Extend the consistency check in BundleDbPersistenceManager's to fix child-parent relations

    [ https://issues.apache.org/jira/browse/JCR-2877?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12990083#comment-12990083 ] 

Bart van der Schans commented on JCR-2877:
------------------------------------------

We have some code for this for the 1.5 branch. It should be portable to the trunk and 2.2 branch. Do you already have a patch yourself or should I try to make it work for the the trunk?

> 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