Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
0.1-incubating
-
None
Description
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.