You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by "Lenny Primak (JIRA)" <ji...@apache.org> on 2013/09/07 02:21:51 UTC

[jira] [Created] (TAP5-2175) Bean Validation fails when @Size(min) is not specified but max is specified

Lenny Primak created TAP5-2175:
----------------------------------

             Summary: Bean Validation fails when @Size(min) is not specified but max is specified
                 Key: TAP5-2175
                 URL: https://issues.apache.org/jira/browse/TAP5-2175
             Project: Tapestry 5
          Issue Type: Bug
          Components: tapestry-beanvalidator
    Affects Versions: 5.4
            Reporter: Lenny Primak
            Priority: Critical


beanvalidator-validation.js has a bug in rangeValue()

if(v===null) // should be if(v==null)

In the current state, it will return undefined if @Size(min) is not present,
thus failing for perfectly valid input

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira