[
http://opensource.atlassian.com/projects/hibernate/browse/BVTCK-12?page=c...
]
Hardy Ferentschik commented on BVTCK-12:
----------------------------------------
Here is a list of tests which are affected afaics:
{noformat}
testPropertyPathWithArray(org.hibernate.jsr303.tck.tests.validation.PropertyPathTest)
testPropertyPathSet(org.hibernate.jsr303.tck.tests.validation.PropertyPathTest)
testPropertyPathWithMap(org.hibernate.jsr303.tck.tests.validation.PropertyPathTest)
testPropertyPathWithList(org.hibernate.jsr303.tck.tests.validation.PropertyPathTest)
testGraphValidationWithList(org.hibernate.jsr303.tck.tests.validation.ValidateTest)
testGraphValidationWithArray(org.hibernate.jsr303.tck.tests.validation.ValidateTest)
testValidationIsPolymorphic(org.hibernate.jsr303.tck.tests.validation.ValidateTest)
testContainedMap(org.hibernate.jsr303.tck.tests.validation.graphnavigation.GraphNavigationTest)
testNoEndlessLoop(org.hibernate.jsr303.tck.tests.validation.graphnavigation.GraphNavigationTest)
testGraphNavigationDeterminism(org.hibernate.jsr303.tck.tests.validation.graphnavigation.GraphNavigationTest)
propertyPathInIterable(org.hibernate.jsr303.tck.tests.validation.validatorcontext.ConstraintValidatorContextTest)
{noformat}
Only {{PropertyPathTest}} has actually wrong assertions. The other errors stem from the
{{Path}} implementation which is part of the {{TestUtil}} class.
I have a patch for the TCK as well as the RI. we just need to sync the releases.
The TCK goes against the spec on Node and nested Path: section 4.2
------------------------------------------------------------------
Key: BVTCK-12
URL:
http://opensource.atlassian.com/projects/hibernate/browse/BVTCK-12
Project: Bean Validation TCK
Issue Type: Bug
Affects Versions: 1.0.4.GA
Reporter: Emmanuel Bernard
Assignee: Emmanuel Bernard
Priority: Minor
Attachments: BVTCK-12-report.tar.gz
In section 4.2 "Constraint Violation", Table 4.1, "propertyPath
examples", the structure of a set of Path.Nodes is described. Examining the examples
in this section:
Row 4 shows that a path describing the fourth author (i.e. "authors3") should
be represented by a not-in-iterable "authors" node followed by a nameless node
with index 3. However, in this example the TCK would expect a single "authors"
node with index 3.
Likewise, row 6 shows that a path describing the first author's company property
("authors0.company") should be represented by a not-in-iterable
"authors" node followed by a "company" node with index 0. In this
example the TCK would instead expect an "authors" node with index 3, followed by
a not-in-iterable "company" node.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://opensource.atlassian.com/projects/hibernate/secure/Administrators....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira