Issue Type: Bug Bug
Affects Versions: 5.0.0.CR3
Assignee: Unassigned
Components: integration
Created: 17/Mar/13 7:16 AM
Description:

If a method overrides a method from a super-class or implements an interface method, its @ValidateOnExecution settings must be taken from the highest method in the hierarchy. (e.g. if C#foo() overrides B#foo() and B#foo() overrides A#foo(), the settings for C#foo() must be taken from A#foo()).

This is not guaranteed to work as in ValidationExtension#replaceWithInterfaceMethod() the first overridden method in the given set is considered, whose iteration order is not guaranteed to be from top to bottom of the hierarchy.

See

  • ExecutableValidationTest#testExecutableValidationUsesSettingFromHighestMethodInHierarchyIfValidatedMethodImplementsAnInterfaceMethod()
Fix Versions: 5.0.0.CR4
Project: Hibernate Validator
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