You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flex.apache.org by "Dudda (JIRA)" <ji...@apache.org> on 2014/11/13 17:51:34 UTC

[jira] [Commented] (FLEX-22497) ResultEvent for HTTPService does not contain a reference to the service

    [ https://issues.apache.org/jira/browse/FLEX-22497?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14210000#comment-14210000 ] 

Dudda commented on FLEX-22497:
------------------------------

i agree, the httpService in HTTPOperation is still private, and the event.target is still httpOperation, so there is no way to get the httpService from the result event. This is not the right event-driven policy.

> ResultEvent for HTTPService does not contain a reference to the service
> -----------------------------------------------------------------------
>
>                 Key: FLEX-22497
>                 URL: https://issues.apache.org/jira/browse/FLEX-22497
>             Project: Apache Flex
>          Issue Type: Bug
>          Components: RPC: HTTPService
>    Affects Versions: Adobe Flex SDK 3.5 (Release)
>         Environment: Affected OS(s): All OS Platforms
> Affected OS(s): All OS Platforms
> Language Found: English
>            Reporter: Adobe JIRA
>            Assignee: Adobe JIRA
>            Priority: Minor
>
> Steps to reproduce:
> 1. Compile the attached sample code with SDK 3.5 (or 3.4)
> 2. Click the button to make a remote call
> 3. Remote call returns with ResultEvent
>  
>  Actual Results:
> resultEvent.target contains a reference to an object of type HTTPOperation
> resultEvent.target.service is null
>  
>  Expected Results:
>  resultEvent.target should be the HTTPService that made the call. That's the way it worked up until 3.4. 
> If it can't be changed or this is the intended result, then HTTPOperation needs to be made non-private so I can declare a variable of that type, it should be documented, and the HTTPOperation.service property should contain a reference to the HTTPService that made the call.
>  
>  Workaround (if any):
>  none known



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)