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.
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 withsling:resourceType=wcm/core/components/policy/policy
while the actual replication date is maintained in itsjcr:content
child node.