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

Validation fails for nodetypes extending mix:versionable

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.4.6
    • 3.4.8
    • vlt
    • None
    • Patch

    Description

      when validation a content package containing data with a node type extending mix:versionable (and the protected properties are stripped out of the local content) validation failes with:

      ERROR] ValidationViolation: "jackrabbit-nodetypes: Mandatory property 'jcr:predecessors' missing in node with types [cq:WorkflowModel] at /var/workflow/models/dam/dam_update_asset1"
      [ERROR] ValidationViolation: "jackrabbit-nodetypes: Mandatory property 'jcr:baseVersion' missing in node with types [cq:WorkflowModel] at /var/workflow/models/dam/dam_update_asset1"
      [ERROR] ValidationViolation: "jackrabbit-nodetypes: Mandatory property 'jcr:versionHistory' missing in node with types [cq:WorkflowModel] at /var/workflow/models/dam/dam_update_asset1"
      

      sample project to reproduce the problem:
      https://github.com/stefanseifert/filevault-package-maven-plugin-validation-issues/tree/master/content-packages/workflow-content

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: