[ 
https://issues.apache.org/jira/browse/JCRVLT-96?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tobias Bocanegra updated JCRVLT-96:
-----------------------------------
    Fix Version/s:     (was: 3.1.28)

> DefaultWorkspaceFilter.getImportMode(path) should find the closest filter root
> ------------------------------------------------------------------------------
>
>                 Key: JCRVLT-96
>                 URL: https://issues.apache.org/jira/browse/JCRVLT-96
>             Project: Jackrabbit FileVault
>          Issue Type: Bug
>          Components: Packaging
>    Affects Versions: 3.1.18
>            Reporter: Tobias Bocanegra
>
> {{org.apache.jackrabbit.vault.fs.config.DefaultWorkspaceFilter#getImportMode}}
>  just iterates over all filter sets and returns the import mode of the first 
> that matches.
> for example:
> {noformat}
> <filter root="/foo"/>
> <filter root="/foo/bar" mode="merge" />
> {noformat}
> will return {{REPLACE}} for any path below {{/foo}} because that entry 
> matches first.
> The search should find the closest ancestor, or at least search for the 
> matching set with the deepest path.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to