]
Emmanuel Bernard commented on BVAL-16:
--------------------------------------
I believe we should mandate a correct path in the spec. But not force to raise an
exception. This can be implementation specific.
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: