You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@bval.apache.org by "Roman Stumm (JIRA)" <ji...@apache.org> on 2010/09/22 09:40:34 UTC

[jira] Issue Comment Edited: (BVAL-81) No context provided when validating methods

    [ https://issues.apache.org/jira/browse/BVAL-81?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12913440#action_12913440 ] 

Roman Stumm edited comment on BVAL-81 at 9/22/10 3:36 AM:
----------------------------------------------------------

An example would be helpful, that shows what the *expected behavior* should be. A reproducer would be great.

Would you expect the Method object itself as rootBean of the ConstraintViolation? see MethodValidatorImpl#validateParameters, line 180

      was (Author: romanstumm):
    An example would be helpful, that shows what the *expected behavior* should be. A reproducer would be great.

Would you expect the Method object itself as rootBean of the ConstraintViolation?
  
> No context provided when validating methods
> -------------------------------------------
>
>                 Key: BVAL-81
>                 URL: https://issues.apache.org/jira/browse/BVAL-81
>             Project: BeanValidation
>          Issue Type: Bug
>          Components: jsr303
>    Affects Versions: 0.1-incubating, 0.2-incubating
>            Reporter: David J. M. Karlsen
>
> When validating method executions no constraints are provided:
> [ConstraintViolationImpl{rootBean=null, propertyPath='', message='may not be empty', leafBean=[], value=[]}]

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.