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

RTE when trying to use a MX FormItem container with the sample Arcade theme

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Duplicate
    • Adobe Flex SDK Previous
    • None
    • Sample Apps
    • None
    • Affected OS(s): All OS Platforms
      Language Found: English

    Description

      Found in 4.0.0.12927

      Steps to reproduce:
      1. Compile and run attached MXML file and use the /samples/themes/arcade/arcade.swc theme.

      Actual Results:
      ArgumentError: Error #2025: The supplied DisplayObject must be a child of the caller.
      at flash.display::DisplayObjectContainer/getChildIndex()
      at mx.core::Container/getChildIndex()[E:\dev\trunk\frameworks\projects\framework\src\mx\core\Container.as:2843]
      at mx.accessibility::AccImpl$/updateFormItemString()[E:\dev\trunk\frameworks\projects\framework\src\mx\accessibility\AccImpl.as:154]
      at mx.accessibility::AccImpl$/getFormName()[E:\dev\trunk\frameworks\projects\framework\src\mx\accessibility\AccImpl.as:115]
      at mx.accessibility::UIComponentAccProps()[E:\dev\trunk\frameworks\projects\framework\src\mx\accessibility\UIComponentAccProps.as:131]
      at mx.accessibility::UIComponentAccProps$/http://www.adobe.com/2006/flex/mx/internal::createAccessibilityImplementation()[E:\dev\trunk\frameworks\projects\framework\src\mx\accessibility\UIComponentAccProps.as:76]
      at mx.core::UIComponent/initializeAccessibility()[E:\dev\trunk\frameworks\projects\framework\src\mx\core\UIComponent.as:7297]
      at mx.core::UIComponent/initialize()[E:\dev\trunk\frameworks\projects\framework\src\mx\core\UIComponent.as:7252]
      at arcade.skins::BorderSkin/initialize()
      at mx.core::UIComponent/http://www.adobe.com/2006/flex/mx/internal::childAdded()[E:\dev\trunk\frameworks\projects\framework\src\mx\core\UIComponent.as:7137]
      at mx.core::Container/http://www.adobe.com/2006/flex/mx/internal::rawChildren_addChildAt()[E:\dev\trunk\frameworks\projects\framework\src\mx\core\Container.as:4500]
      at mx.core::ContainerRawChildrenList/addChildAt()[E:\dev\trunk\frameworks\projects\framework\src\mx\core\ContainerRawChildrenList.as:151]
      at mx.core::Container/createBorder()[E:\dev\trunk\frameworks\projects\framework\src\mx\core\Container.as:4714]
      at mx.core::Container/styleChanged()[E:\dev\trunk\frameworks\projects\framework\src\mx\core\Container.as:3654]
      at mx.containers::FormItem/styleChanged()[E:\dev\trunk\frameworks\projects\framework\src\mx\containers\FormItem.as:1253]
      at mx.core::UIComponent/http://www.adobe.com/2006/flex/mx/internal::addingChild()[E:\dev\trunk\frameworks\projects\framework\src\mx\core\UIComponent.as:7114]
      at mx.core::Container/http://www.adobe.com/2006/flex/mx/internal::addingChild()[E:\dev\trunk\frameworks\projects\framework\src\mx\core\Container.as:3909]
      at mx.core::Container/addChildAt()[E:\dev\trunk\frameworks\projects\framework\src\mx\core\Container.as:2612]
      at mx.containers::Form/addChildAt()[E:\dev\trunk\frameworks\projects\framework\src\mx\containers\Form.as:293]
      at mx.core::Container/addChild()[E:\dev\trunk\frameworks\projects\framework\src\mx\core\Container.as:2540]
      at mx.containers::Form/addChild()[E:\dev\trunk\frameworks\projects\framework\src\mx\containers\Form.as:282]
      at mx.core::Container/createComponentFromDescriptor()[E:\dev\trunk\frameworks\projects\framework\src\mx\core\Container.as:4377]
      at mx.core::Container/createComponentsFromDescriptors()[E:\dev\trunk\frameworks\projects\framework\src\mx\core\Container.as:4166]
      at mx.core::Container/createChildren()[E:\dev\trunk\frameworks\projects\framework\src\mx\core\Container.as:3193]
      at mx.core::UIComponent/initialize()[E:\dev\trunk\frameworks\projects\framework\src\mx\core\UIComponent.as:7246]
      at mx.core::Container/initialize()[E:\dev\trunk\frameworks\projects\framework\src\mx\core\Container.as:3135]
      at mx.core::UIComponent/http://www.adobe.com/2006/flex/mx/internal::childAdded()[E:\dev\trunk\frameworks\projects\framework\src\mx\core\UIComponent.as:7137]
      at mx.core::Container/http://www.adobe.com/2006/flex/mx/internal::childAdded()[E:\dev\trunk\frameworks\projects\framework\src\mx\core\Container.as:3957]
      at mx.core::Container/addChildAt()[E:\dev\trunk\frameworks\projects\framework\src\mx\core\Container.as:2622]
      at mx.core::Container/addChild()[E:\dev\trunk\frameworks\projects\framework\src\mx\core\Container.as:2540]
      at mx.core::Container/createComponentFromDescriptor()[E:\dev\trunk\frameworks\projects\framework\src\mx\core\Container.as:4377]
      at mx.core::Container/createComponentsFromDescriptors()[E:\dev\trunk\frameworks\projects\framework\src\mx\core\Container.as:4166]
      at mx.core::Container/createChildren()[E:\dev\trunk\frameworks\projects\framework\src\mx\core\Container.as:3193]
      at mx.core::UIComponent/initialize()[E:\dev\trunk\frameworks\projects\framework\src\mx\core\UIComponent.as:7246]
      at mx.core::Container/initialize()[E:\dev\trunk\frameworks\projects\framework\src\mx\core\Container.as:3135]
      at mx.core::Application/initialize()[E:\dev\trunk\frameworks\projects\framework\src\mx\core\Application.as:1042]
      at SoStylish/initialize()
      at mx.managers.systemClasses::ChildManager/childAdded()[E:\dev\trunk\frameworks\projects\framework\src\mx\managers\systemClasses\ChildManager.as:189]
      at mx.managers::SystemManager/initializeTopLevelWindow()[E:\dev\trunk\frameworks\projects\framework\src\mx\managers\SystemManager.as:2828]
      at mx.managers::SystemManager/http://www.adobe.com/2006/flex/mx/internal::kickOff()[E:\dev\trunk\frameworks\projects\framework\src\mx\managers\SystemManager.as:2632]
      at mx.managers::SystemManager/http://www.adobe.com/2006/flex/mx/internal::preloader_completeHandler()[E:\dev\trunk\frameworks\projects\framework\src\mx\managers\SystemManager.as:2534]
      at flash.events::EventDispatcher/dispatchEventFunction()
      at flash.events::EventDispatcher/dispatchEvent()
      at mx.preloaders::Preloader/timerHandler()[E:\dev\trunk\frameworks\projects\framework\src\mx\preloaders\Preloader.as:515]
      at flash.utils::Timer/_timerDispatch()
      at flash.utils::Timer/tick()

      Expected Results:
      No RTE.

      Workaround (if any):
      n/a

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: