You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@bval.apache.org by "Carlos Vara (JIRA)" <ji...@apache.org> on 2010/04/30 18:31:54 UTC

[jira] Updated: (BVAL-32) Annotations associated with composited contraints must reflect inherited groups

     [ https://issues.apache.org/jira/browse/BVAL-32?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Carlos Vara updated BVAL-32:
----------------------------

    Attachment: bval-jsr303.patch

Attached patch and 1 test.

> Annotations associated with composited contraints must reflect inherited groups
> -------------------------------------------------------------------------------
>
>                 Key: BVAL-32
>                 URL: https://issues.apache.org/jira/browse/BVAL-32
>             Project: BeanValidation
>          Issue Type: Bug
>          Components: jsr303
>    Affects Versions: 0.1-incubating
>            Reporter: Carlos Vara
>         Attachments: bval-jsr303.patch
>
>
> When enforcing group inheritance in constraint composition, the actual annotations must also have their groups() value modified. To do so, a new annotation proxy must be created that substitutes the obtained one.
> One gotcha in the solution, I made the class AnnotationProxy serializable as those proxies can be part of ConstraintDescriptorImpl,
> 1 more test passes.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.