Issue Type: Bug Bug
Affects Versions: 5.0.0.CR3
Assignee: Unassigned
Components: engine
Created: 17/Mar/13 6:42 AM
Description:

If a method overrides a method from a super-class, its @ValidateOnExecution settings must be taken from the overridden method.

This works for implemented interface methods, but not overridden class methods (in ValidationExtension#determineConstrainedMethod only ReflectionHelper.computeAllImplementedMethods( type.getJavaClass() ) is invoked.

See

  • ExecutableValidationTest#testExecutableValidationUsesDefaultSettingSinceValidatedMethodOverridesASuperTypeMethod()
  • ExecutableValidationTest#testExecutableValidationUsesSettingFromSuperTypeMethodSinceValidatedMethodOverridesASuperTypeMethod()
  • ExecutableValidationTest#testExecutableValidationUsesSettingFromSuperTypeSinceValidatedMethodOverridesASuperTypeMethod()
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