[ https://issues.apache.org/jira/browse/JCRVLT-305?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16515353#comment-16515353 ]
Tobias Bocanegra commented on JCRVLT-305: ----------------------------------------- btw, the following works: {code} PathFilterSet nodes = new PathFilterSet("/tmp"); nodes.addInclude(new DefaultPathFilter("/tmp")); PathFilterSet props = new PathFilterSet("/tmp"); DefaultWorkspaceFilter filter = new DefaultWorkspaceFilter(); filter.add(nodes, props); {code} > DefaultWorkspaceFilter.add(nodeFilters) does not include properties > ------------------------------------------------------------------- > > Key: JCRVLT-305 > URL: https://issues.apache.org/jira/browse/JCRVLT-305 > Project: Jackrabbit FileVault > Issue Type: Bug > Reporter: Marius Petria > Priority: Major > > The add method should only add the filter set to nodeFilterSets, otherwise an > include pattern for nodes will reject all properties. > {code} > public void add(PathFilterSet set) { > nodesFilterSets.add(set); > propsFilterSets.add(set); > } > {code} > [1] > https://github.com/apache/jackrabbit-filevault/blob/9eb53d36adfb7695a44075c72ca7ff0cedafabcc/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/config/DefaultWorkspaceFilter.java#L102 -- This message was sent by Atlassian JIRA (v7.6.3#76005)