Issue Type: Bug Bug
Affects Versions: 5.0.0.Alpha2
Assignee: Unassigned
Components: engine
Created: 22/Jan/13 6:02 AM
Description:

If an executable return value has a constraint and is marked for cascaded validation, cascaded validation will not happen if the constraint on the return value itself is invalid.

See MethodValidationTest#methodReturnValueValidationTargetsReturnValueAndCascadedConstraints()

I think the cause is that in ValidatorImpl#validateReturnValueForGroup() the following lines are before the cascaded validation but need to go after that (as is the case for parameter validation):

//stop processing after first group with errors occurred
if ( numberOfViolationsOfCurrentGroup > 0 ) {
    break;
}
Fix Versions: 5.0.0.Beta1
Project: Hibernate Validator
Labels: bv-1.1-tck-failure
Priority: Major Major
Reporter: Gunnar Morling
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira