You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Chris Lotton (Jira)" <ji...@apache.org> on 2022/02/07 17:58:00 UTC

[jira] [Commented] (JCRVLT-604) RepositoryCopier doesn't allow Property Based Filtering

    [ https://issues.apache.org/jira/browse/JCRVLT-604?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17488291#comment-17488291 ] 

Chris Lotton commented on JCRVLT-604:
-------------------------------------

[~kwin] I was hoping to reach out to you directly about this issue.  I'm not sure if it's actually technically a bug, or just an improvement that should be added at some point, by the open source community at large.

We do have a need in our application to use the RepositoryCopier API.   We were hoping to create the source filter as mentioned in the description to exclude both nodes and specific properties.

> RepositoryCopier doesn't allow Property Based Filtering
> -------------------------------------------------------
>
>                 Key: JCRVLT-604
>                 URL: https://issues.apache.org/jira/browse/JCRVLT-604
>             Project: Jackrabbit FileVault
>          Issue Type: Bug
>          Components: RCP
>    Affects Versions: 3.5.8
>            Reporter: Chris Lotton
>            Priority: Major
>
> Jackrabbit-FileVault allows creation of filters based on Nodes, and recently also Properties.
> When creating a new filter like:
> {code:java}
> defaultWorkSpaceFilter.add(myNodeFilterSet, myPropertyFilterSet) {code}
> and assigning it to repositoryCopier like:
> {code:java}
> repositoryCoper.setSourceFilter(defaultWorkSpaceFilter){code}
> It appears only myNodeFilterSet is checked.  Nodes are excludes as expected, but properties expected to be excluded remain.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)