Corey Bodendein created JCRVLT-489:
--------------------------------------
Summary: jackrabbit-nodetypes validator errors for cq:WorkflowModel
Key: JCRVLT-489
URL: https://issues.apache.org/jira/browse/JCRVLT-489
Project: Jackrabbit FileVault
Issue Type: Bug
Reporter: Corey Bodendein
Using the Apache Jackrabbit FileVault Package Maven Plugin 1.1.4 with [AEM Node
Types and Namespaces
6.5.5.0|https://github.com/Netcentric/aem-nodetypes/tree/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:
{noformat}
[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
{noformat}
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.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)