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 2016/03/11 12:16:58 UTC
[jira] [Resolved] (SLING-5373) Allow different severities per
validator
[ https://issues.apache.org/jira/browse/SLING-5373?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Konrad Windszus resolved SLING-5373.
------------------------------------
Resolution: Fixed
Fixed with [https://svn.apache.org/r1734074|r1734074]. Now you can specify in the model a severity.
> Allow different severities per validator
> ----------------------------------------
>
> Key: SLING-5373
> URL: https://issues.apache.org/jira/browse/SLING-5373
> Project: Sling
> Issue Type: Bug
> Components: Validation
> Reporter: Konrad Windszus
> Fix For: Validation 1.0.0
>
>
> It would be good to be able to define a severity either on the validator itself or within the validation model. That would allow to later on differentiate the handling on how to treat those violations.
> Depending on the violation severity one could decide to either throw an exception or just expose the violation failure message for informational purposes.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)