[
http://opensource.atlassian.com/projects/hibernate/browse/HV-429?page=com...
]
Kevin Pollet updated HV-429:
----------------------------
Description:
When using the {{Validator#validateValue}} or {{Validator#validateProperty}} methods the
default group sequence used is wrong. The default group sequence used is always the
default group sequence defined on the root class.
The default group sequence which has to be used is :
* the property hosting bean default group sequence, if it was re-defined.
* if the property hosting bean doesn't re-defines the default group sequence,
{{super-types}} default group sequence have to be applied.
(this behavior is applied for {{Validator#validate}} method)
was:
When using the {{Validator#validateValue}} or {{Validator#validateProperty}} methods the
default group sequence used is wrong. The default group sequence used is always the
default group sequence defined on the root class.
The default group sequence which has to be used is :
* the property hosting bean default group sequence, if it was redefined.
* if the property hosting bean doesn't redefines the default group sequence,
superclass default group sequence has to be applied.
validateValue and validateProperty using wrong default group
sequence
---------------------------------------------------------------------
Key: HV-429
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HV-429
Project: Hibernate Validator
Issue Type: Bug
Components: engine
Affects Versions: 4.x
Reporter: Kevin Pollet
Assignee: Kevin Pollet
Fix For: 4.2.0.Beta2
When using the {{Validator#validateValue}} or {{Validator#validateProperty}} methods the
default group sequence used is wrong. The default group sequence used is always the
default group sequence defined on the root class.
The default group sequence which has to be used is :
* the property hosting bean default group sequence, if it was re-defined.
* if the property hosting bean doesn't re-defines the default group sequence,
{{super-types}} default group sequence have to be applied.
(this behavior is applied for {{Validator#validate}} method)
--
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