-
Bug
-
Resolution: Fixed
-
Neutral
-
1.0.2
-
None
-
-
Empty show more show less
Currently, the logic used to go into the children nodes, works for the actual values, but doesn't work for versioned nodes, since parent and children nodes are stored on completely different paths and aren't dependent one from another.
The issue comes mostly from this part of the ContentDiffHandler class:
if (depth > 0) { final NodeIterator nodes = node.getNodes(); while (nodes.hasNext()) { Node child = nodes.nextNode(); if ((!excludedNodeTypes.contains(VersionUtil.getNodeTypeName(child))) && (!excludedNodeNames.contains(child.getName()))) { marshallNode(child, rootNode, depth-1, excludedNodeTypes, excludedNodeNames, includeMeta, parentPath, previousVersion); } } }
Acceptance criteria