You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flex.apache.org by "Alex Harui (JIRA)" <ji...@apache.org> on 2014/06/18 08:54:07 UTC

[jira] [Resolved] (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 ]

Alex Harui resolved FLEX-34324.
-------------------------------

       Resolution: Fixed
    Fix Version/s: Apache Flex 4.12.2

Accepted patch in d81034144c1829cfbc1555d33d670ccc674f4b52

> 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.1, FP 12.0.0.77
>            Reporter: Chris Martin
>            Assignee: Alex Harui
>              Labels: easyfix, easytest
>             Fix For: Apache Flex 4.12.2
>
>         Attachments: 0018-fix-FLEX-34324.patch, OperationClassTest.zip
>
>
> 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)