This issue can't be edited

Because it belongs to an archived project. Jira admins can restore projects from the archive.

Evaluation of composed constraints should stops on first validation error in case of @ReportAsSingleViolation

Description

Currently the spec says:

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.

Note that this could be a bit more complex if / when we introduce full boolean composition. This needs to be anticipated.

Environment

None

Activity

Show:

Emmanuel Bernard October 16, 2012 at 11:10 AM

Applied, thanks Hardy.

Emmanuel Bernard January 5, 2012 at 12:21 PM

The current spec recommend so BTW but stays silent on whether or not the composing constraint should be applied

Fixed

Details

Assignee

Reporter

Participants

Emmanuel Bernard
Hardy Ferentschik

Components

Priority

Created January 5, 2012 at 12:20 PM
Updated January 13, 2015 at 8:07 PM
Resolved October 16, 2012 at 11:10 AM