jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From un...@apache.org
Subject svn commit: r1440059 - /jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/persistence/bundle/ConsistencyCheckerImpl.java
Date Tue, 29 Jan 2013 19:01:17 GMT
Author: unico
Date: Tue Jan 29 19:01:16 2013
New Revision: 1440059

URL: http://svn.apache.org/viewvc?rev=1440059&view=rev
Log:
JCR-3277 the subject of a missing child report item is the node which has the invalid child
node entry, not the missing child node

Modified:
    jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/persistence/bundle/ConsistencyCheckerImpl.java

Modified: jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/persistence/bundle/ConsistencyCheckerImpl.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/persistence/bundle/ConsistencyCheckerImpl.java?rev=1440059&r1=1440058&r2=1440059&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/persistence/bundle/ConsistencyCheckerImpl.java
(original)
+++ jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/persistence/bundle/ConsistencyCheckerImpl.java
Tue Jan 29 19:01:16 2013
@@ -278,7 +278,7 @@ public class ConsistencyCheckerImpl {
                             if (childNodeEntry != null) {
                                 String message = "NodeState '" + id + "' references inexistent
child '" + childNodeId + "'";
                                 log.error(message);
-                                addMessage(reports, childNodeId, message, ReportItem.Type.MISSING);
+                                addMessage(reports, id, message, ReportItem.Type.MISSING);
                                 missingChildren.add(childNodeEntry);
                             }
                         } else {



Mime
View raw message