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/12/14 09:18:46 UTC
[jira] [Created] (SLING-5373) Allow different severities per
validator
Konrad Windszus created SLING-5373:
--------------------------------------
Summary: 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)