Per Matt Benson, on the list ML Reference :
{quote} Okay, after digging a bit deeper I have come up with the following list of affected tests http :
org //lists . hibernate jboss . beanvalidation.tck.tests.metadata.PropertyDescriptorTest: #testGetGroupConversionsForField #testGetGroupConversionsForProperty #testGetGroupConversionsReturnsEmptySet #testIsCascaded #testPropertyName
org .hibernate. /pipermail/ beanvalidation -dev/2018-March/001461 . tck.tests.metadata.ConstraintDescriptorTest: #testAnnotationAndMapParametersReflectParameterOverriding #testComposingConstraints #testComposingConstraintsPayload #testGetGroups #testGetGroupsOnInterface #testGetGroupsWithImplicitGroup #testGetMessageTemplate #testGetValidationAppliesTo #testGetValidationAppliesToFromComposingConstraint #testGetValidationAppliesToReturnsNull #testPayload #testReportAsSingleViolation
org.hibernate.beanvalidation.tck.tests.metadata.BeanDescriptorTest: #testGetConstraintsForUnConstrainedProperty #testGetElementClassReturnsBeanClass #testIsBeanConstrainedDueToConstraintOnInterface #testIsBeanConstrainedDueToValidAnnotation
These tests have in common the fact that they use bean classes derived from the org.hibernate.beanvalidation.tck.tests.metadata.Person interface, whose #getAge() method declares @CustomConstraint, which inherits @Size as a composing constraint via @CustomComposingConstraint.
Section 3.3 of the spec says: The type upon which composed constraint is placed must be compatible with all constraints (composing and composed).
I therefore conclude that the constraint applied to Person#getAge() is incorrectly composed. {quote} html |
|