You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by "Thiago H. de Paula Figueiredo (JIRA)" <ji...@apache.org> on 2013/09/09 18:42:52 UTC
[jira] [Resolved] (TAP5-2175) Bean Validation fails when @Size(min)
is not specified but max is specified
[ https://issues.apache.org/jira/browse/TAP5-2175?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Thiago H. de Paula Figueiredo resolved TAP5-2175.
-------------------------------------------------
Resolution: Duplicate
Duplicate of TAP5-2164.
> 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