You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@bval.apache.org by "David J. M. Karlsen (JIRA)" <ji...@apache.org> on 2010/08/30 22:31:55 UTC

[jira] Created: (BVAL-81) No context provided when validating methods

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.2-incubating, 0.1-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.


[jira] Commented: (BVAL-81) No context provided when validating methods

Posted by "David J. M. Karlsen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/BVAL-81?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12913420#action_12913420 ] 

David J. M. Karlsen commented on BVAL-81:
-----------------------------------------

ping?

> 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.


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

Posted by "Roman Stumm (JIRA)" <ji...@apache.org>.
    [ 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.


[jira] Commented: (BVAL-81) No context provided when validating methods

Posted by "David J. M. Karlsen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/BVAL-81?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12923830#action_12923830 ] 

David J. M. Karlsen commented on BVAL-81:
-----------------------------------------

Hmm - good question. Would it be possible to fit in both the Method and the name of the argument?

> 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.


[jira] Commented: (BVAL-81) No context provided when validating methods

Posted by "Roman Stumm (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/BVAL-81?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12913440#action_12913440 ] 

Roman Stumm commented on BVAL-81:
---------------------------------

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.