Visitor does not apply filter to root node
------------------------------------------
Key: MAGNOLIA-3450
URL: http://jira.magnolia-cms.com/browse/MAGNOLIA-3450
Project: Magnolia
Issue Type: Bug
Components: core
Affects Versions: 4.3.8
Reporter: Grégory Joseph
Assignee: Philipp Bärfuss
If I want to apply a visitor to all nodes of type {{X}} in my repository, I'll
tend to do
{code}
ContentUtil.visit(hm.getRoot(), myVisitor, new NodeTypeFilter("X");
{code}
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.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.magnolia-cms.com/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------