[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 10:59:05 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 hs 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.

  was:When using the _Validator#validateValue_ or _Validator#validateProperty_ methods the default group sequence used is wrong. Instead of using respectively the default group sequence of the hosting class or the hosting bean the default group sequence of the root bean or root class is used.  


> 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 hs 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.

-- 
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