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

Konrad Windszus closed JCRVLT-422.
----------------------------------

> filevault-package-maven-plugin 1.1.2: jackrabbit-emptyelements filter fails 
> for nodes starting with numbers
> -----------------------------------------------------------------------------------------------------------
>
>                 Key: JCRVLT-422
>                 URL: https://issues.apache.org/jira/browse/JCRVLT-422
>             Project: Jackrabbit FileVault
>          Issue Type: Bug
>          Components: package maven plugin, vlt
>    Affects Versions: 3.4.4, package-maven-plugin-1.1.2
>            Reporter: Stefan Seifert
>            Assignee: Konrad Windszus
>            Priority: Major
>             Fix For: 3.4.6
>
>
> to reproduce the problem build this sample project:
>  
> [https://github.com/stefanseifert/filevault-package-maven-plugin-1.1.2-validation-issues/tree/master/content-packages/sample-content]
> this leads (among others) to this error:
> {noformat}
> [ERROR] ValidationViolation: "jackrabbit-emptyelements: Found empty node 
> (used for ordering only) without an accompanying folder which are included in 
> the filter with mode=replace. Either remove the empty node or add at least 
> the 'jcr:primaryType' attribute to make this node really get replaced.", 
> filePath=jcr_root\content\dam\filevaultsample\.content.xml, 
> nodePath=/content/dam/filevaultsample/_x0030_123_sample.jpg
> {noformat}
>  
> this is wrong, the node is present. the filter seems to fail due to the 
> escaped node name {{_x0030_123_sample.jpg}}, which should map to 
> {{0123_sample.jpg}} in the file system.
> this problem did not occur with version 1.1.0 of the plugin.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to