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

RTE when closing Popup with RIATEST open but the application compiled with accessibility = false

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: Apache Flex 4.9.0
    • Fix Version/s: Apache Flex 4.10.0
    • Component/s: Automation, PopUp Manager
    • Labels:
      None
    • Environment:
      windows 7 x64

      Description

      Having a regular app that WASN't compiled with RIAtest or automation swcs but having RIATEST open, when closing a popup, it throws an RTE

      The fix should be easy

      instead of

      underneathPopUpData.owner.accessibilityProperties.silent = false;

      should be

      if(underneathPopUpData.owner.accessibilityProperties)
      underneathPopUpData.owner.accessibilityProperties.silent = false;

      RTE thrown

      exception, information=TypeError: Error #1009: Cannot access a property or method of a null object reference.
      at mx.managers::PopUpManagerImpl/handleAccessibilityForNestedPopups()[/Users/justinmclean/Documents/ApacheFlexSDK/frameworks/projects/framework/src/mx/managers/PopUpManagerImpl.as:1541]
      at mx.managers::PopUpManagerImpl/removeModalPopUpAccessibility()[/Users/justinmclean/Documents/ApacheFlexSDK/frameworks/projects/framework/src/mx/managers/PopUpManagerImpl.as:1482]
      at mx.managers::PopUpManagerImpl/popupRemovedHandler()[/Users/justinmclean/Documents/ApacheFlexSDK/frameworks/projects/framework/src/mx/managers/PopUpManagerImpl.as:1230]
      at flash.display::DisplayObjectContainer/removeChild()
      at mx.managers::SystemManager/http://www.adobe.com/2006/flex/mx/internal::rawChildren_removeChild()[/Users/justinmclean/Documents/ApacheFlexSDK/frameworks/projects/framework/src/mx/managers/SystemManager.as:2152]
      at mx.managers::SystemManager/removeChild()[/Users/justinmclean/Documents/ApacheFlexSDK/frameworks/projects/framework/src/mx/managers/SystemManager.as:1795]
      at mx.managers::PopUpManagerImpl/removePopUp()[/Users/justinmclean/Documents/ApacheFlexSDK/frameworks/projects/framework/src/mx/managers/PopUpManagerImpl.as:641]
      at mx.managers::PopUpManager$/removePopUp()[/Users/justinmclean/Documents/ApacheFlexSDK/frameworks/projects/framework/src/mx/managers/PopUpManager.as:238]

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              jfernandes João Pedro Martins Fernandes
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: