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

Tobias Bocanegra commented on JCRVLT-485:
-----------------------------------------

I would ignore the properties form mix:versionable, since the handling of 
versions is done specially in filevault. Also note, that most of them have no 
meaning for import, since we cannot recreate the same version history.

> 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
>             Fix For: 3.4.8
>
>
> 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)

Reply via email to