flex-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Martin (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (FLEX-34324) Operation class improperly builds rest call parameters
Date Sat, 23 May 2015 22:47:17 GMT

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

Chris Martin closed FLEX-34324.
-------------------------------

tested okay in 4.14.1

> 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.13.0
>
>         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.3.4#6332)

Mime
View raw message