Stefan Seifert created JCRVLT-422:
-------------------------------------
Summary: filevault-package-maven-plugin 1.1.2:
jackrabbit-emptyelements filter fails for nodes staring with numbers
Key: JCRVLT-422
URL: https://issues.apache.org/jira/browse/JCRVLT-422
Project: Jackrabbit FileVault
Issue Type: Bug
Components: package maven plugin
Affects Versions: package-maven-plugin-1.1.2
Reporter: Stefan Seifert
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)