Details
-
Bug
-
Resolution: Done
-
Major
-
2.3.4.Final
-
None
Description
The JS code generated from JSAPIWriter contains checks for all parameters to check whether or not they should be added to the request. The generated code is:
if(params.xxx) // add it
For a value FALSE or 0 this evaluates to TRUE and so the parameters are not added.
The code should better be:
if(params.xxx != undefined) // add it
Attachments
Issue Links
- is related to
-
RESTEASY-727 AJAX-Client: Array form parameter is sent as single merged value
- Closed
- relates to
-
RESTEASY-727 AJAX-Client: Array form parameter is sent as single merged value
- Closed