[
https://issues.apache.org/jira/browse/BVAL-38?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Carlos Vara updated BVAL-38:
----------------------------
Attachment: bval-jsr303-38-setters.patch
Patch that adds functionality to the setters to keep the attributes map up to
date.
I decided to go with that route because removing groups and payload field
involves converting types in a method that is probably used a lot, as the
groups/payloads are stored as arrays in the attribute map and as sets in the
individual fields.
Test uploaded in this issue passes with this patch applied.
Of course, if you prefer to fix it any other way, just ignore this patch.
Btw, I have another patch to fix implicit groups lined up for when this issue
is closed :-)
> Groups and payload values must be part of the ConstraintDescriptor attributes
> -----------------------------------------------------------------------------
>
> Key: BVAL-38
> URL: https://issues.apache.org/jira/browse/BVAL-38
> Project: BeanValidation
> Issue Type: Bug
> Components: jsr303
> Affects Versions: 0.1-incubating
> Reporter: Carlos Vara
> Fix For: 0.1-incubating
>
> Attachments: bval-jsr303-38-extra-test.patch,
> bval-jsr303-38-setters.patch, bval-jsr303-38.patch
>
>
> When querying the validation metadata, the returned ConstraintDescriptor must
> have 'groups' and 'payload' attributes.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.