[ https://issues.apache.org/jira/browse/SLING-5026?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15058306#comment-15058306 ]
ASF GitHub Bot commented on SLING-5026: --------------------------------------- GitHub user kwin opened a pull request: https://github.com/apache/sling/pull/117 SLING-5026 improve validator error message You can merge this pull request into a Git repository by running: $ git pull https://github.com/kwin/sling SLING-5026-improve-validator-return-value Alternatively you can review and apply these changes as the patch at: https://github.com/apache/sling/pull/117.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #117 ---- commit b5f37d029ab54c165929d89f5faa055e284c4d7e Author: Konrad Windszus <konrad.winds...@netcentric.biz> Date: 2015-12-15T16:48:43Z SLING-5026 improve validator error message ---- > 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.3.4#6332)