[ http://issues.apache.org/struts/browse/STR-599?page=all ]
Don Brown reopened STR-599:
---------------------------
Assign To: (was: Struts Developer Mailing List)
> [PATCH] 0 should be a valid float
> ---------------------------------
>
> Key: STR-599
> URL: http://issues.apache.org/struts/browse/STR-599
> Project: Struts Action 1
> Type: Bug
> Components: Action
> Versions: Nightly Build
> Environment: Operating System: All
> Platform: All
> Reporter: Jose Quinteiro
> Fix For: 1.1 Family
>
> Current validator-rules.xml does not validate 0 as a float. Here is a patch:
> Index: conf/share/validator-rules.xml
> ===================================================================
> RCS file: /home/cvspublic/jakarta-struts/conf/share/validator-rules.xml,v
> retrieving revision 1.2
> diff -r1.2 validator-rules.xml
> 379c379
> < if (!iValue) {
> ---
> > if( isNaN(iValue) ) {
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/struts/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]