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
January 5, 2012, 12:21 PM

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

Emmanuel Bernard
October 16, 2012, 11:10 AM

Applied, thanks Hardy.

Fixed

Assignee

Hardy Ferentschik

Reporter

Emmanuel Bernard

Labels

None

Feedback Requested

None

Feedback Requested By

None

backPortable

None

Suitable for new contributors

None

Pull Request

None

backportDecision

None

backportReEvaluate

None

Components

Fix versions

Priority

Major
Configure