Defer node creation in implementation of ConstraintViolationBuilder API
-----------------------------------------------------------------------

                 Key: BVAL-29
                 URL: https://issues.apache.org/jira/browse/BVAL-29
             Project: BeanValidation
          Issue Type: Bug
          Components: jsr303
    Affects Versions: 0.1-incubating
            Reporter: Carlos Vara
         Attachments: bval-jsr303.patch, ConstraintValidatorContextTest.java

Call to inIterable() should modify the previous sibling node instead of the 
"current" node, and in case a null named non iterable node is left in the leaf 
of the path, it should never be added.

This behavior is not documented in the JSR-303 spec document, but 
ConstraintValidatorContext Javadoc gives information on how it should work.

Patch includes some tests that serve also as examples of this API usage.

1 more test passes.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to