[hibernate-issues] [Hibernate-JIRA] Created: (BVAL-16) Has the property passed to validator.validateProperty() be reachable by a valid chain of validation.

Hardy Ferentschik (JIRA) noreply at atlassian.com
Mon Sep 15 16:07:03 EDT 2008


Has the property passed to validator.validateProperty() be reachable by a valid chain of validation.
----------------------------------------------------------------------------------------------------

                 Key: BVAL-16
                 URL: http://opensource.atlassian.com/projects/hibernate/browse/BVAL-16
             Project: Bean Validation
          Issue Type: Task
          Components: ri-general, spec-general
            Reporter: Hardy Ferentschik


if you do something like this validateProperty( foo, "prop1.prop2.prop3[3]" ), does this imply that the whole chain is validated? One could just get the value/class for prop[3] and see if there are any validations defined on it or you could actually traverse the whole path and also ensure that prop1 and prop2 are annotated with @Valid.
 
To put it differently, has the property to validated be reachable via a valid 'validation chain'? Somehow it feels to be the right thing to do. 

-- 
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.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the hibernate-issues mailing list