[ https://issues.apache.org/jira/browse/JCRVLT-485?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Stefan Seifert updated JCRVLT-485:
----------------------------------
Flags: Patch
PR which fixes the problem by checking against a list of special-handling properties:
https://github.com/apache/jackrabbit-filevault/pull/110
> 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)
|