You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Konrad Windszus (Jira)" <ji...@apache.org> on 2019/09/20 16:23:00 UTC
[jira] [Created] (JCRVLT-378) WorkspaceFilter.contains return false
negative
Konrad Windszus created JCRVLT-378:
--------------------------------------
Summary: WorkspaceFilter.contains return false negative
Key: JCRVLT-378
URL: https://issues.apache.org/jira/browse/JCRVLT-378
Project: Jackrabbit FileVault
Issue Type: Bug
Components: vlt
Reporter: Konrad Windszus
For this workspace filter
{code}
<filter root="/var/acs-commons">
<include pattern="/var/acs-commons/httpcache"/>
<include pattern="/var/acs-commons/httpcache/root"/>
</filter>
{code}
The call of {{WorkspaceFilter.contains("/var/acs-commons")}} returns {{false}}.
This is unexpected because this is the root path itself.
So this node should be installed (including all direct properties) and only sub nodes are being filtered with the includes/excludes.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)