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

Tobias Bocanegra edited comment on JCRVLT-176 at 5/18/17 1:16 AM:
------------------------------------------------------------------

in the case of /etc, the computation of the HintArtifact was wrong [0], 
including an extra '/', because it is on toplevel. so the hintname was "/etc" 
instead of "etc", and then it didn't match the check for hints in [1] and was 
removed.
[0] 
https://github.com/apache/jackrabbit-filevault/commit/6c397e3321232525b5f05398ea22b380ae3adf12#diff-b2d5d53590a7905b17d553828c20766eL906
[1] 
https://github.com/apache/jackrabbit-filevault/blob/jackrabbit-filevault-3.1.38/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/impl/io/DocViewSAXImporter.java#L1169

fixed in r1795405


was (Author: tripod):
fixed in r1795405

> Package with non-deep filter removes node
> -----------------------------------------
>
>                 Key: JCRVLT-176
>                 URL: https://issues.apache.org/jira/browse/JCRVLT-176
>             Project: Jackrabbit FileVault
>          Issue Type: Bug
>            Reporter: Tobias Bocanegra
>             Fix For: 3.1.40
>
>
> even though the following package filter doesn't include the subtree, the 
> entire /etc is removed after installing this package:
> {noformat}
> <?xml version="1.0" encoding="UTF-8"?>
> <workspaceFilter version="1.0">
>     <filter root="/etc">
>         <include pattern="/etc"/>
>         <include pattern="/etc/clientlibs"/>
>         <include pattern="/etc/clientlibs/granite"/>
>         <include pattern="/etc/clientlibs/granite/test(/.*)?"/>
>     </filter>
> </workspaceFilter>
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to