ConstraintLocation was merged in one class in HV-645, but the {{hashCode()}} and {{equals()}} were not implemented. Due to this, in {{ValidatorImpl #929}}
{code} if ( constraintList.contains( metaConstraint ) ) { ... } {code}
fails to recognize that two paths that are identical, are equal.
My particular case is using the JSF Mojarra application with latest hibernate-validator, and having a getter in backing bean annotated with some JCR303 JSR 303 validation annotation.
{{equals()}} and {{hashCode()}} should be added as they were present in {{BeanConstraintLocation}}.
Working fine in 5.0.3.Final, for example.
|