Chris Martin created FLEX-34324:
-----------------------------------
Summary: Operation class improperly build rest call parameters
Key: FLEX-34324
URL: https://issues.apache.org/jira/browse/FLEX-34324
Project: Apache Flex
Issue Type: Bug
Components: RPC: General
Affects Versions: Apache Flex 4.12.0, Adobe Flex SDK 4.6 (Release)
Environment: Windows 8, FP 12.0.0.77
Reporter: Chris Martin
If a user were to use the Operation class to make a rest call, the parameters
are improperly built. The parameters get doubled up in the body. The extra
parameters may be ignored by the service layer. In the attached example, you
will have to wait after clicking "click" button because the endpoint will not
exist and it will need to timeout.
Steps to Reproduce
1.) Run the attached project code.
2.) click on the button
3.) Wait for the textarea to display the contents of the request body
Result
The parameters being sent are "doubled up". In this case we only have one
parameter called id but we send two parameters in the request
* [0] = 54
* id = 54
Expected Result
Only the one parameter is send in the request
* id=54
--
This message was sent by Atlassian JIRA
(v6.2#6252)