[ https://issues.apache.org/jira/browse/SLING-6610?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15897464#comment-15897464 ]
Konrad Windszus edited comment on SLING-6610 at 3/6/17 3:18 PM: ---------------------------------------------------------------- I am open for other proposals, but basically I need to transmit information about the validators severity from the {{ValidationModelRetrieverImpl}} to the {{ResourceModelProvider}}. Otherwise I don't have the information about the validator severity in the {{ParameterizedValidator}}. was (Author: kwin): I am open for other proposals, but basically I need to transmit information about the validators severity from the {{ValidationModelRetrieverImpl}} to the {{ResourceModelProvider}}s. Otherwise I don't have the information about the validator severity in the {{ParameterizedValidator}}. > DefaultValidationFailure and DefaultValidationResult should use > ValidationContext as parameter > ---------------------------------------------------------------------------------------------- > > Key: SLING-6610 > URL: https://issues.apache.org/jira/browse/SLING-6610 > Project: Sling > Issue Type: Improvement > Components: Extensions, Validation > Reporter: Oliver Lietz > Assignee: Konrad Windszus > Fix For: Validation 1.0.0 > > > {{ValidationContext}}: > {noformat} > public DefaultValidationFailure(@Nonnull ValidationContext validationContext, > @Nonnull String messageKey, Object... messageArguments) > {noformat} > instead of {{location}}, {{severity}} and {{ResourceBundle}} from > {{ValidationContext}}: > {noformat} > public DefaultValidationFailure(@Nonnull String location, Integer severity, > @Nonnull ResourceBundle defaultResourceBundle, @Nonnull String messageKey, > Object... messageArguments) > {noformat} -- This message was sent by Atlassian JIRA (v6.3.15#6346)