[hibernate-issues] [Hibernate-JIRA] Updated: (BVAL-259) Enforce that the evaluation of composed constraints stops on the first validation error in case of @ReportAsSingleViolation
Hardy Ferentschik (JIRA)
noreply at atlassian.com
Tue Jan 10 10:16:10 EST 2012
[ http://opensource.atlassian.com/projects/hibernate/browse/BVAL-259?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Hardy Ferentschik updated BVAL-259:
-----------------------------------
Description:
Currently the spec says:
{quote}
Note
If a composing constraint fails and if the composed constraint is marked as @ReportAsSingleViolation,
the Bean Validation provider is free to not process the other composing constraints for this composed constraint.
{quote}
Note that this could be a bit more complex if / when we introduce full boolean composition. This needs to be anticipated.
was:Note that this could be a bit more complex if / when we introduce full boolean composition. This needs to be anticipated.
Summary: Enforce that the evaluation of composed constraints stops on the first validation error in case of @ReportAsSingleViolation (was: Enforce in the spec that @ReportAsSingleViolation does apply validators once one is reporting a failure)
> Enforce that the evaluation of composed constraints stops on the first validation error in case of @ReportAsSingleViolation
> ---------------------------------------------------------------------------------------------------------------------------
>
> Key: BVAL-259
> URL: http://opensource.atlassian.com/projects/hibernate/browse/BVAL-259
> Project: Bean Validation
> Issue Type: Improvement
> Components: spec-general
> Reporter: Emmanuel Bernard
>
> Currently the spec says:
> {quote}
> Note
> If a composing constraint fails and if the composed constraint is marked as @ReportAsSingleViolation,
> the Bean Validation provider is free to not process the other composing constraints for this composed constraint.
> {quote}
> Note that this could be a bit more complex if / when we introduce full boolean composition. This needs to be anticipated.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the hibernate-issues
mailing list