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

Flex SDK 4.5.1 - Enable automation causes recursive event dispatched

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • Adobe Flex SDK 4.5.1 (Release)
    • None
    • None
    • Affected OS(s): Windows
      Affected OS(s): Windows 7
      Language Found: English

    Description

      Steps to reproduce: (You need to access our project (for outside customer) source code to reproduce it. Please contact me to have a remote desktop connection, a phone call or a connect session to help you reproduce)
      1. Enable automation in Flex compiler parameter
      Full compiler parameter:
      -services "D:/Perforce/faramir.corp.adobe.com_1680/zheping_zheping-PC/depot/services/clients/nike/zodiac/zodiacenterprise/zodiacenterprise/vs2.war/WEB-INF/flex/services-config.xml" -locale en_US -define=CONFIG::release,false -include-libraries "C:\Program Files (x86)\RIATest 4\agent\RIATestAgent4.swc" D:\TestAutomationLib451\automation.swc D:\TestAutomationLib451\automation_dmv.swc D:\TestAutomationLib451\automation_agent.swc D:\TestAutomationLib451\automation_air.swc D:\TestAutomationLib451\automation_spark.swc D:\TestAutomationLib451\automation_airspark.swc -includes com.nike.vs2.finddashboard.view.FindDashboardAutomationDelegateImpl com.nike.vs2.palettecore.view.FindResultPalettesAutomationDelegateImpl com.nike.vs2.skins.PaletteDataListRepeatedItemAutomationDelegateImpl com.nike.vs2.login.view.LoginAutomationDelegateImpl com.nike.vs2.findproduct.view.FindProductCriteriaAutomationDelegateImpl com.adobe.sjsc.automation.DoubleClickSparkListAutomationDelegateImpl com.nike.vs2.automation.AutomationDoubleClickEvent com.nike.vs2.findproduct.view.FindProductResultsAutomationDelegateImpl com.nike.vs2.findproduct.view.ModelItemRendererAutomationDelegateImpl com.nike.vs2.findproduct.view.ModelOfferingItemRendererAutomationDelegateImpl com.nike.vs2.findproduct.view.ProductListAutomationDelegateImpl com.nike.vs2.findproduct.view.ColorwayPreviewAutomationDelegateImpl com.nike.vs2.colorchipviewer.view.ColorChipItemRendererAutomationDelegateImpl com.nike.vs2.viewerholder.view.ProductViewerHolderAutomationDelegateImpl

      2. Run AIR app, open some specific window, click on a specific window, then move mouse out of this window edge

      Actual Results:

      step 2. At the move out time point, a recursive event is dispatched:

      Error: Error #2094: Event dispatch recursion overflow.
      at flash.events::EventDispatcher/dispatchEventFunction()
      at flash.events::EventDispatcher/dispatchEvent()
      at mx.managers.systemClasses::MarshallingSupport/otherSystemManagerMouseListener()[E:\dev\hero_private\frameworks\projects\framework\src\mx\managers\systemClasses\MarshallingSupport.as:2725]
      at flash.events::EventDispatcher/dispatchEventFunction()
      at flash.events::EventDispatcher/dispatchEvent()
      at mx.managers.systemClasses::MarshallingSupport/otherSystemManagerMouseListener()[E:\dev\hero_private\frameworks\projects\framework\src\mx\managers\systemClasses\MarshallingSupport.as:2728]
      at flash.events::EventDispatcher/dispatchEventFunction()
      at flash.events::EventDispatcher/dispatchEvent()
      at mx.managers.systemClasses::MarshallingSupport/otherSystemManagerMouseListener()[E:\dev\hero_private\frameworks\projects\framework\src\mx\managers\systemClasses\MarshallingSupport.as:2728]
      at flash.events::EventDispatcher/dispatchEventFunction()
      at flash.events::EventDispatcher/dispatchEvent()
      at mx.managers.systemClasses::MarshallingSupport/otherSystemManagerMouseListener()[E:\dev\hero_private\frameworks\projects\framework\src\mx\managers\systemClasses\MarshallingSupport.as:2728]
      at flash.events::EventDispatcher/dispatchEventFunction()
      at flash.events::EventDispatcher/dispatchEvent()
      at mx.managers.systemClasses::MarshallingSupport/otherSystemManagerMouseListener()[E:\dev\hero_private\frameworks\projects\framework\src\mx\managers\systemClasses\MarshallingSupport.as:2728]
      at flash.events::EventDispatcher/dispatchEventFunction()
      at flash.events::EventDispatcher/dispatchEvent()
      at mx.managers.systemClasses::MarshallingSupport/otherSystemManagerMouseListener()[E:\dev\hero_private\frameworks\projects\framework\src\mx\managers\systemClasses\MarshallingSupport.as:2728]
      at flash.events::EventDispatcher/dispatchEventFunction()
      at flash.events::EventDispatcher/dispatchEvent()
      at

      Expected Results:
      2. The mouse should be moved out and no recursive event dispatched

      Workaround (if any):

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: