Uploaded image for project: 'Jackrabbit FileVault'
  1. Jackrabbit FileVault
  2. JCRVLT-422

filevault-package-maven-plugin 1.1.2: jackrabbit-emptyelements filter fails for nodes starting with numbers

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.4.4, package-maven-plugin-1.1.2
    • 3.4.6
    • package maven plugin, vlt
    • None

    Description

      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:

      [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
      

       
      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.

      Attachments

        Activity

          People

            kwin Konrad Windszus
            sseifert Stefan Seifert
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: