You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@bval.apache.org by "Romain Manni-Bucau (Updated) (JIRA)" <ji...@apache.org> on 2011/12/12 16:51:31 UTC

[jira] [Updated] (BVAL-98) returned value validation

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

Romain Manni-Bucau updated BVAL-98:
-----------------------------------

    Attachment: FailingTest.java

here a junit test reproducing the error
                
> returned value validation
> -------------------------
>
>                 Key: BVAL-98
>                 URL: https://issues.apache.org/jira/browse/BVAL-98
>             Project: BeanValidation
>          Issue Type: Bug
>          Components: method validation
>            Reporter: Romain Manni-Bucau
>         Attachments: FailingTest.java
>
>
> if a returned value is annotated with something else than @Valid (let say @NotNull for instance) apache bval throws an exception to say it doesn't follow the javabean convention.
> MethodValidator should supports it so classvalidator should allow to use it.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira