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

[PerModuleStyleManagement] Locale chaining with modules appears to be broken by rev. 11274.

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

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

    Description

      Steps to reproduce:

      (There's a build.sh file in the zip which makes it clearer.)

      1. Create a module which uses a framework resource.
      2. Compile it for en_US and ja_JP. (Two separate files...one for en_US, and another for ja_JP.)
      3. Create a file which loads modules. Compile it for en_US.
      4. Load the en_US module.
      5. Load the ja_JP module.

      Actual Results:
      TypeError: Error #1009: Cannot access a property or method of a null object reference.
      at mx.core::UIComponent/getStyle()
      at mx.core::UIComponent/getTextFieldClassName()
      at mx.core::UIComponent/createInFontContext()
      at mx.controls::Label/http://www.adobe.com/2006/flex/mx/internal::createTextField()
      at mx.controls::Label/commitProperties()
      at mx.core::UIComponent/validateProperties()
      at mx.managers::LayoutManager/validateProperties()
      at mx.managers::LayoutManager/doPhasedInstantiation()
      at mx.managers::LayoutManager/doPhasedInstantiationCallback()
      at flash.events::EventDispatcher/dispatchEventFunction()
      at flash.events::EventDispatcher/dispatchEvent()
      at ModuleInfoProxy/moduleEventHandler()
      at flash.events::EventDispatcher/dispatchEventFunction()
      at flash.events::EventDispatcher/dispatchEvent()
      at ModuleInfo/readyHandler()
      at flash.events::EventDispatcher/dispatchEventFunction()
      at flash.events::EventDispatcher/dispatchEvent()
      at mx.core::FlexModuleFactory/update()
      at mx.core::FlexModuleFactory/timerHandler()
      at flash.utils::Timer/_timerDispatch()
      at flash.utils::Timer/tick()

      Expected Results:
      Since Japanese resources are not available, and the English ones are, the English ones should be used.

      Workaround (if any):

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment