You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flex.apache.org by "Chris Martin (JIRA)" <ji...@apache.org> on 2014/05/20 02:05:39 UTC

[jira] [Updated] (FLEX-34324) Operation class improperly builds rest call parameters

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

Chris Martin updated FLEX-34324:
--------------------------------

    Summary: Operation class improperly builds rest call parameters  (was: Operation class improperly build rest call parameters)

> Operation class improperly builds 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: Adobe Flex SDK 4.6 (Release), Apache Flex 4.12.0
>         Environment: Windows 8, FP 12.0.0.77
>            Reporter: Chris Martin
>              Labels: easyfix, easytest
>
> 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)