You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Konrad Windszus (JIRA)" <ji...@apache.org> on 2015/06/29 15:23:04 UTC
[jira] [Updated] (SLING-4822) Allow to skip validation of sub
resources based on arbitrary predicates
[ https://issues.apache.org/jira/browse/SLING-4822?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Konrad Windszus updated SLING-4822:
-----------------------------------
Summary: Allow to skip validation of sub resources based on arbitrary predicates (was: Allow to skip validation of sub resources based on a property)
> Allow to skip validation of sub resources based on arbitrary predicates
> -----------------------------------------------------------------------
>
> Key: SLING-4822
> URL: https://issues.apache.org/jira/browse/SLING-4822
> Project: Sling
> Issue Type: Bug
> Components: Validation
> Reporter: Konrad Windszus
> Assignee: Konrad Windszus
>
> Sometimes it is useful to skip some resources in {{ValidationMessage.validateAllResourceTypesInResource}} not only depending on the actual resource type but based on some other condition. To keep things simple I would suggest to have a property with a special name e.g. {{sling:skipValidation}} to allow to skip validation for a specific sub resource.
> Then the property could just be set to {{true}} in case that resource should always be skipped for {{validateAllResourceTypesInResource}}, independent of the resource type.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)