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

Using a Label in a custom skin of an FxRadioButton causes an RTE

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • Adobe Flex SDK Previous
    • Spark: RadioButton
    • None
    • Affected OS(s): All OS Platforms
      Affected OS(s): All OS Platforms
      Browser: Firefox 2.x
      Language Found: English

    Description

      Steps to reproduce:
      1. Compile and run attached "Bug_customSkin.mxml"
      2.

      Actual Results:

      An RTE is thrown:

      ArgumentError: Error #2008: Parameter align must be one of the accepted values.
      at flash.text::TextFormat/set align()
      at mx.core::UITextField/getTextStyles()[E:\dev\trunk\frameworks\projects\framework\src\mx\core\UITextField.as:1735]
      at mx.core::UITextField/validateNow()[E:\dev\trunk\frameworks\projects\framework\src\mx\core\UITextField.as:1672]
      at mx.core::UITextField/set nestLevel()[E:\dev\trunk\frameworks\projects\framework\src\mx\core\UITextField.as:1154]
      at mx.core::UIComponent/http://www.adobe.com/2006/flex/mx/internal::addingChild()[E:\dev\trunk\frameworks\projects\framework\src\mx\core\UIComponent.as:5575]
      at mx.core::UIComponent/addChild()[E:\dev\trunk\frameworks\projects\framework\src\mx\core\UIComponent.as:5289]
      at mx.controls::Label/http://www.adobe.com/2006/flex/mx/internal::createTextField()[E:\dev\trunk\frameworks\projects\framework\src\mx\controls\Label.as:1385]
      at mx.controls::Label/createChildren()[E:\dev\trunk\frameworks\projects\framework\src\mx\controls\Label.as:1192]
      at mx.core::UIComponent/initialize()[E:\dev\trunk\frameworks\projects\framework\src\mx\core\UIComponent.as:5717]
      at mx.core::UIComponent/http://www.adobe.com/2006/flex/mx/internal::childAdded()[E:\dev\trunk\frameworks\projects\framework\src\mx\core\UIComponent.as:5614]
      at mx.core::UIComponent/addChildAt()[E:\dev\trunk\frameworks\projects\framework\src\mx\core\UIComponent.as:5326]
      at mx.components::Group/addItemToDisplayList()[E:\dev\trunk\frameworks\projects\flex4\src\mx\components\Group.as:1008]
      at mx.components::Group/http://www.adobe.com/2006/flex/mx/internal::elementAdded()[E:\dev\trunk\frameworks\projects\flex4\src\mx\components\Group.as:717]
      at mx.components::Group/validateMxmlContent()[E:\dev\trunk\frameworks\projects\flex4\src\mx\components\Group.as:263]
      at mx.components::Group/commitProperties()[E:\dev\trunk\frameworks\projects\flex4\src\mx\components\Group.as:276]
      at mx.core::UIComponent/validateProperties()[E:\dev\trunk\frameworks\projects\framework\src\mx\core\UIComponent.as:6158]
      at mx.managers::LayoutManager/validateProperties()[E:\dev\trunk\frameworks\projects\framework\src\mx\managers\LayoutManager.as:539]
      at mx.managers::LayoutManager/doPhasedInstantiation()[E:\dev\trunk\frameworks\projects\framework\src\mx\managers\LayoutManager.as:659]
      at Function/http://adobe.com/AS3/2006/builtin::apply()
      at mx.core::UIComponent/callLaterDispatcher2()[E:\dev\trunk\frameworks\projects\framework\src\mx\core\UIComponent.as:9096]
      at mx.core::UIComponent/callLaterDispatcher()[E:\dev\trunk\frameworks\projects\framework\src\mx\core\UIComponent.as:9036]

      Expected Results:

      No RTE should be thrown.

      Workaround (if any):

      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: