You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Tobias Bocanegra (JIRA)" <ji...@apache.org> on 2015/09/28 18:22:04 UTC
[jira] [Updated] (JCRVLT-96)
DefaultWorkspaceFilter.getImportMode(path) should find the closest filter
root
[ 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.24)
3.1.26
> 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
> Fix For: 3.1.26
>
>
> {{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)