[hibernate-issues] [Hibernate-JIRA] Updated: (HV-429) validateValue and validateProperty using wrong default group sequence

Kevin Pollet (JIRA) noreply at atlassian.com
Thu Feb 17 11:06:06 EST 2011


     [ http://opensource.atlassian.com/projects/hibernate/browse/HV-429?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

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

        


More information about the hibernate-issues mailing list