struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Camilo Azula (Created) (JIRA)" <j...@apache.org>
Subject [jira] [Created] (WW-3701) Wrong parsing of number with exponents
Date Thu, 10 Nov 2011 15:48:51 GMT
Wrong parsing of number with exponents
--------------------------------------

                 Key: WW-3701
                 URL: https://issues.apache.org/jira/browse/WW-3701
             Project: Struts 2
          Issue Type: Bug
          Components: Plugin - JSON
    Affects Versions: 2.2.3.1, 2.1.8
         Environment: UNIX, Windows
            Reporter: Camilo Azula
            Priority: Critical
             Fix For: 2.2.3.1


The json reader is not handling correctly the exponential numbers such as 5e-5. For example,
5e-5 is tried to be parsed as long which is incorrect check line 201 org.apache.struts2.json.JSONReader.
The dot does not mean that the exponential is meaning an integer.


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message