[
https://issues.apache.org/jira/browse/BVAL-30?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Donald Woods resolved BVAL-30.
------------------------------
Fix Version/s: 0.1-incubating
Resolution: Fixed
committed as r939446
> Groups from the main constraint annotation must be inherited by the composing
> annotations
> -----------------------------------------------------------------------------------------
>
> Key: BVAL-30
> URL: https://issues.apache.org/jira/browse/BVAL-30
> Project: BeanValidation
> Issue Type: Bug
> Components: jsr303
> Affects Versions: 0.1-incubating
> Reporter: Carlos Vara
> Assignee: Donald Woods
> Fix For: 0.1-incubating
>
> Attachments: bval-jsr303.patch, ConstraintCompositionTest.java
>
>
> Groups from the main constraint annotation are inherited by the composing
> annotations, and any groups definition on a composing annotation must be
> ignored.
> Fixed this by giving access to the parent constraint group list in
> AppendValidationToBuilder, and by ensuring that this list is copied to
> children AppendValidationToBuilder's when they are created.
> I have an easier to understand fix that does a post-processing of the
> metabean to achieve the same results. I left it commented in case you prefer
> it.
> Added some tests to validate the rule. 3 more TCK test pass.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.