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

Stefan Seifert commented on JCRVLT-485:
---------------------------------------

the CND for mix versionable:
{noformat}
[mix:versionable] > mix:referenceable, mix:simpleVersionable
  mixin
  - jcr:versionHistory (reference) mandatory protected ignore < 
'nt:versionHistory'
  - jcr:baseVersion (reference) mandatory protected ignore < 'nt:version'
  - jcr:predecessors (reference) mandatory protected multiple ignore < 
'nt:version'
  - jcr:mergeFailed (reference) protected multiple abort < 'nt:version'
  - jcr:activity (reference) protected < 'nt:activity'
  - jcr:configuration (reference) protected ignore < 'nt:configuration'
{noformat}

the affected property are set to "protected", "mandatory" and also to "ignore". 
not sure what the latter means, but probable we should "ignore" the validation 
for those properties as well?
[~kwin] WDYT?

> 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)

Reply via email to