struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nitin Surana (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (WW-4269) blank double results in NumberFormatException being thrown on sending JSON in request body
Date Tue, 07 Jan 2014 08:57:50 GMT

     [ https://issues.apache.org/jira/browse/WW-4269?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Nitin Surana updated WW-4269:
-----------------------------

    Summary: blank double results in NumberFormatException being thrown on sending JSON in
request body  (was: blank double results in NumberFormatException being thrown)

> blank double results in NumberFormatException being thrown on sending JSON in request
body
> ------------------------------------------------------------------------------------------
>
>                 Key: WW-4269
>                 URL: https://issues.apache.org/jira/browse/WW-4269
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Plugin - JSON
>    Affects Versions: 2.3.15
>         Environment: windows 7 64-bit, jdk 7 & struts2.3.15
>            Reporter: Nitin Surana
>            Priority: Blocker
>              Labels: easyfix
>             Fix For: 2.3.x
>
>
> If the http request contains JSON in the body, which has any problem in getting converted
to an object, then it throws Exception calling the global-exception-handler. Instead it should
return INPUT as by the validate interceptor, mentioning the field having the error in fieldErrors.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message