You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Unico Hommes (Commented) (JIRA)" <ji...@apache.org> on 2012/03/26 13:00:28 UTC

[jira] [Commented] (JCR-3277) Let consistency report provide more information

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

Unico Hommes commented on JCR-3277:
-----------------------------------

Patch against 2.6 trunk. Includes patches JCR-3267, JCR-3265 and JCR-3269
                
> Let consistency report provide more information
> -----------------------------------------------
>
>                 Key: JCR-3277
>                 URL: https://issues.apache.org/jira/browse/JCR-3277
>             Project: Jackrabbit Content Repository
>          Issue Type: Improvement
>            Reporter: Unico Hommes
>         Attachments: morereportinfo.patch
>
>
> Currently the consistency report items only contain a node id and a message string. I see the following use cases benefit from more information:
> - allow callers of the consistency checker to do postprocessing of nodes such as putting extra information on a fixed node
> - allow callers of the consistency checker to do custom reporting with statistics on type of inconsistencies and other information such as number and id of virtual nodes
> - inconsistencies typically involve two node ids: a subject and an object node (for instance orphaned nodes have a node id but also the id of the parent that is no longer present)
> I created a patch that enhances the consistency report items with the following information:
> - aside from node id (the subject of the report item) also an object node id
> - each report item has an event type, such as 'abandoned', 'orphaned', etc.
> - report items also report root nodes and virtual nodes

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira