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

jackrabbit-nodetypes validator errors for cq:WorkflowModel

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.4.8
    • None
    • None

    Description

      Using the Apache Jackrabbit FileVault Package Maven Plugin 1.1.4 with AEM Node Types and Namespaces 6.5.5.0 and data from a package built from /var/workflow from Adobe Experience Manager 6.5.6, the jackrabbit-nodetypes validator raises errors on nodes of type cq:WorkflowModel. Below is one example of the errors that are raised for one node:

      [ERROR] ValidationViolation: "jackrabbit-nodetypes: Property 'DocViewProperty [name={http://www.jcp.org/jcr/1.0}uuid, values=[41699399-95fd-444d-ab8c-b9f8e614607e], isMulti=false, type=0, isReferenceProperty=false]' is not allowed in node with types '[cq:WorkflowModel]': Property is protected!", filePath=jcr_root/var/workflow/models/dam/dynamic-media-encode-video.xml, nodePath=/var/workflow/models/dam/dynamic-media-encode-video, line=8, column=40
      [ERROR] ValidationViolation: "jackrabbit-nodetypes: Property 'DocViewProperty [name={http://www.jcp.org/jcr/1.0}isCheckedOut, values=[false], isMulti=false, type=6, isReferenceProperty=false]' is not allowed in node with types '[cq:WorkflowModel]': Property is protected!", filePath=jcr_root/var/workflow/models/dam/dynamic-media-encode-video.xml, nodePath=/var/workflow/models/dam/dynamic-media-encode-video, line=8, column=40
      [ERROR] ValidationViolation: "jackrabbit-nodetypes: Mandatory property '{http://www.jcp.org/jcr/1.0}predecessors' missing in node with types [cq:WorkflowModel]", filePath=jcr_root/var/workflow/models/dam/dynamic-media-encode-video.xml, nodePath=/var/workflow/models/dam/dynamic-media-encode-video, line=8, column=40
      [ERROR] ValidationViolation: "jackrabbit-nodetypes: Mandatory property '{http://www.jcp.org/jcr/1.0}baseVersion' missing in node with types [cq:WorkflowModel]", filePath=jcr_root/var/workflow/models/dam/dynamic-media-encode-video.xml, nodePath=/var/workflow/models/dam/dynamic-media-encode-video, line=8, column=40
      [ERROR] ValidationViolation: "jackrabbit-nodetypes: Mandatory property '{http://www.jcp.org/jcr/1.0}versionHistory' missing in node with types [cq:WorkflowModel]", filePath=jcr_root/var/workflow/models/dam/dynamic-media-encode-video.xml, nodePath=/var/workflow/models/dam/dynamic-media-encode-video, line=8, column=40
      

      I'm not sure where the issue is, if it's in the data AEM is producing, the Apache Jackrabbit FileVault Validation logic, or the CND provided by the AEM Node Types and Namespaces project.

      Attachments

        Issue Links

          Activity

            People

              kwin Konrad Windszus
              gopackgo90 Corey Bodendein
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: