Netcentric / aem-replication-metadata-validator

Jackrabbit FileVault validator ensuring valid replication metadata in certain nodes of content packages
Eclipse Public License 1.0
2 stars 0 forks source link

Consider also policies referenced via content policy mapping from editable templates #5

Closed kwin closed 1 year ago

kwin commented 1 year ago

The ContentPolicyReferenceProvider not only lists the content policy mapping references below the actual editable template (below .*/settings/wcm/templates/[^/]*/policies) but also the referenced policies (below .*/settings/wcm/policies). The latter is not correctly considered in the validator yet. Also it is important that for the latter case the modified date is retrieved from the node with sling:resourceType=wcm/core/components/policy/policy while the actual replication date is maintained in its jcr:content child node.