[
https://issues.apache.org/jira/browse/BVAL-37?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Carlos Vara updated BVAL-37:
----------------------------
Attachment: bval-jsr303-37.patch
Patch with some extra tests.
5 more TCK tests pass.
> Ensure constraint definitions are valid
> ---------------------------------------
>
> Key: BVAL-37
> URL: https://issues.apache.org/jira/browse/BVAL-37
> Project: BeanValidation
> Issue Type: Bug
> Components: jsr303
> Affects Versions: 0.1-incubating
> Reporter: Carlos Vara
> Attachments: bval-jsr303-37.patch
>
>
> When defining a new constraint, the annotation must:
> - Have a groups() attribute with an empty Class array as default value.
> - Have a payload() attribute with an empty Class<? extends Payload> array as
> default value.
> - Have a message() attribute which returns a String.
> - No attribute that starts with 'valid'.
> In case this fails, a ConstraintDefinitionException must be thrown.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.