[
https://issues.apache.org/jira/browse/JCRVLT-485?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17242281#comment-17242281
]
Konrad Windszus commented on JCRVLT-485:
----------------------------------------
Maybe {{mandatory}} is ignored for mixins, and only has an effect on
{{primaryNodeType}}. I couldn't find anything in the JCR spec though....
[~tripod] Do you have any insights on that?
> Validation fails for nodetypes extending mix:versionable
> --------------------------------------------------------
>
> Key: JCRVLT-485
> URL: https://issues.apache.org/jira/browse/JCRVLT-485
> Project: Jackrabbit FileVault
> Issue Type: Bug
> Components: vlt
> Affects Versions: 3.4.8
> Reporter: Stefan Seifert
> Priority: Major
>
> 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:
> {noformat}
> 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"
> {noformat}
> sample project to reproduce the problem:
> https://github.com/stefanseifert/filevault-package-maven-plugin-validation-issues/tree/master/content-packages/workflow-content
--
This message was sent by Atlassian Jira
(v8.3.4#803005)