You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Corey Bodendein (Jira)" <ji...@apache.org> on 2021/01/01 16:34:00 UTC

[jira] [Commented] (JCRVLT-489) jackrabbit-nodetypes validator errors for cq:WorkflowModel

    [ https://issues.apache.org/jira/browse/JCRVLT-489?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17257228#comment-17257228 ] 

Corey Bodendein commented on JCRVLT-489:
----------------------------------------

I tried using org.apache.jackrabbit.vault:vault-validation:3.4.7-SNAPSHOT and it looks like https://issues.apache.org/jira/browse/JCRVLT-485 fixed most of these issues. There is one that is still outstanding:

{noformat}
[ERROR] ValidationViolation: "jackrabbit-nodetypes: Property 'jcr:isCheckedOut' [Boolean] 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
{noformat}

> 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
>            Priority: Major
>
> 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)