You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Robert Munteanu (JIRA)" <ji...@apache.org> on 2017/09/20 13:18:11 UTC

[jira] [Closed] (SLING-5026) Allow to set multiple validation error messages in one Validator

     [ https://issues.apache.org/jira/browse/SLING-5026?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Munteanu closed SLING-5026.
----------------------------------

> Allow to set multiple validation error messages in one Validator
> ----------------------------------------------------------------
>
>                 Key: SLING-5026
>                 URL: https://issues.apache.org/jira/browse/SLING-5026
>             Project: Sling
>          Issue Type: Improvement
>          Components: Validation
>    Affects Versions: Validation 1.0.0
>            Reporter: Konrad Windszus
>            Assignee: Konrad Windszus
>             Fix For: Validation 1.0.0
>
>
> Currently each {{Validator}} can only set one error message through the String return value (SLING-4010). It should be possible for one {{Validator.validate}} call to set multiple validation messages at once.
> Maybe the solution [~radu.cotescu] proposed in https://issues.apache.org/jira/browse/SLING-4027?focusedCommentId=14219170&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-14219170 can be used here to just pass the ValidationResult around.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)