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

Some components cause an RTE when app is compiled with theme+=MXFTE.css

    XMLWordPrintableJSON

Details

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

    Description

      Steps to reproduce:
      1. Compile the attached app with theme+=MXFTE.css
      2. Run the app

      Actual Results:
      RTE:

      Error: Skin for rteApp.ApplicationSkin2._ApplicationSkin_Group1.contentGroup.HBox5.ColorPicker14.MXFTETextInput17 cannot be found.
      at spark.components.supportClasses::SkinnableComponent/attachSkin()[E:\dev\trunk\frameworks\projects\spark\src\spark\components\supportClasses\SkinnableComponent.as:575]
      at spark.components.supportClasses::SkinnableComponent/validateSkinChange()[E:\dev\trunk\frameworks\projects\spark\src\spark\components\supportClasses\SkinnableComponent.as:350]
      at spark.components.supportClasses::SkinnableComponent/createChildren()[E:\dev\trunk\frameworks\projects\spark\src\spark\components\supportClasses\SkinnableComponent.as:313]
      at mx.core::UIComponent/initialize()[E:\dev\trunk\frameworks\projects\framework\src\mx\core\UIComponent.as:7077]
      at mx.core::UIComponent/http://www.adobe.com/2006/flex/mx/internal::childAdded()[E:\dev\trunk\frameworks\projects\framework\src\mx\core\UIComponent.as:6969]
      at mx.core::UIComponent/addChild()[E:\dev\trunk\frameworks\projects\framework\src\mx\core\UIComponent.as:6653]
      at mx.controls::ComboBase/createChildren()[E:\dev\trunk\frameworks\projects\framework\src\mx\controls\ComboBase.as:1198]
      at mx.controls::ColorPicker/createChildren()[E:\dev\trunk\frameworks\projects\framework\src\mx\controls\ColorPicker.as:997]
      at mx.core::UIComponent/initialize()[E:\dev\trunk\frameworks\projects\framework\src\mx\core\UIComponent.as:7077]
      at mx.core::UIComponent/http://www.adobe.com/2006/flex/mx/internal::childAdded()[E:\dev\trunk\frameworks\projects\framework\src\mx\core\UIComponent.as:6969]
      at mx.core::Container/http://www.adobe.com/2006/flex/mx/internal::childAdded()[E:\dev\trunk\frameworks\projects\framework\src\mx\core\Container.as:3914]
      at mx.core::Container/addChildAt()[E:\dev\trunk\frameworks\projects\framework\src\mx\core\Container.as:2576]
      at mx.core::Container/addChild()[E:\dev\trunk\frameworks\projects\framework\src\mx\core\Container.as:2494]
      at mx.core::Container/createComponentFromDescriptor()[E:\dev\trunk\frameworks\projects\framework\src\mx\core\Container.as:4329]
      at mx.core::Container/createComponentsFromDescriptors()[E:\dev\trunk\frameworks\projects\framework\src\mx\core\Container.as:4118]
      at mx.core::Container/createChildren()[E:\dev\trunk\frameworks\projects\framework\src\mx\core\Container.as:3155]
      at mx.core::UIComponent/initialize()[E:\dev\trunk\frameworks\projects\framework\src\mx\core\UIComponent.as:7077]
      at mx.core::Container/initialize()[E:\dev\trunk\frameworks\projects\framework\src\mx\core\Container.as:3089]
      at mx.core::UIComponent/http://www.adobe.com/2006/flex/mx/internal::childAdded()[E:\dev\trunk\frameworks\projects\framework\src\mx\core\UIComponent.as:6969]
      at mx.core::UIComponent/addChildAt()[E:\dev\trunk\frameworks\projects\framework\src\mx\core\UIComponent.as:6676]
      at spark.components::Group/addDisplayObjectToDisplayList()[E:\dev\trunk\frameworks\projects\spark\src\spark\components\Group.as:1787]
      at spark.components::Group/http://www.adobe.com/2006/flex/mx/internal::elementAdded()[E:\dev\trunk\frameworks\projects\spark\src\spark\components\Group.as:1383]
      at spark.components::Group/setMXMLContent()[E:\dev\trunk\frameworks\projects\spark\src\spark\components\Group.as:506]
      at spark.components::Group/set mxmlContent()[E:\dev\trunk\frameworks\projects\spark\src\spark\components\Group.as:446]
      at spark.components::SkinnableContainer/set mxmlContent()[E:\dev\trunk\frameworks\projects\spark\src\spark\components\SkinnableContainer.as:499]
      at spark.components::SkinnableContainer/createDeferredContent()[E:\dev\trunk\frameworks\projects\spark\src\spark\components\SkinnableContainer.as:884]
      at spark.components::SkinnableContainer/createContentIfNeeded()[E:\dev\trunk\frameworks\projects\spark\src\spark\components\SkinnableContainer.as:914]
      at spark.components::SkinnableContainer/createChildren()[E:\dev\trunk\frameworks\projects\spark\src\spark\components\SkinnableContainer.as:722]
      at mx.core::UIComponent/initialize()[E:\dev\trunk\frameworks\projects\framework\src\mx\core\UIComponent.as:7077]
      at spark.components::Application/initialize()[E:\dev\trunk\frameworks\projects\spark\src\spark\components\Application.as:877]
      at rteApp/initialize()
      at mx.managers.systemClasses::ChildManager/childAdded()[E:\dev\trunk\frameworks\projects\framework\src\mx\managers\systemClasses\ChildManager.as:188]
      at mx.managers::SystemManager/initializeTopLevelWindow()[E:\dev\trunk\frameworks\projects\framework\src\mx\managers\SystemManager.as:2817]
      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:2541]
      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:530]
      at flash.utils::Timer/_timerDispatch()
      at flash.utils::Timer/tick()

      Expected Results:
      No RTE

      Workaround (if any):
      If you comment out the ColorPicker, ComboBox, and DateField, the RTE goes away - not sure what other components could be causing this error - I just happened to have these in my test app.

      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: