Details
-
Bug
-
Resolution: Won't Do
-
Major
-
None
-
4.3.8
-
None
Description
If I want to apply a visitor to all nodes of type X in my repository, I'll tend to do
ContentUtil.visit(hm.getRoot(), myVisitor, new NodeTypeFilter("X");
the visitor will also be applied to the root node, which is not the desired effect, obviously.
This will happen no matter what the given node is, not just the repository's root.
Checklists
Acceptance criteria