Uploaded image for project: 'Apache Flex'
  1. Apache Flex
  2. FLEX-20592

ResultEvent that is passed to result handler in IResponder added to AsyncToken does not contain result

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • Adobe Flex SDK Previous
    • None
    • RPC: WebService
    • None
    • Affected OS(s): Windows
      Affected OS(s): Windows XP
      Browser: Firefox 3.x
      Language Found: English

    Description

      Steps to reproduce:
      1. Call a webserive that returns a value
      2. Take resulting AsyncToken
      3. Add some implementation of IResponder
      4. In implementation of IResponder trace the data param that is passed to result(data:Object) function.

      Actual Results:
      Param data is ResultEvent instance, however it does not contain result field with result from RPC.

      Expected Results:

      According to documentation on ResultEvent.result:
      "Result that the RPC call returns. "

      Param data should contain result field with result.

      AsyncToken to which the IResponder is added contains this result.

      Workaround (if any):
      IResponder must contain the AsyncToken that is attached to, and in result method of responder one can use AyncToken result field to receive result from RPC.

      Attachments

        Activity

          People

            Unassigned Unassigned
            adobejira Adobe JIRA
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: