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

WindowSystemManager is not ISWFContext as is SystemManager

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • Adobe Flex SDK 4.1 (Release)
    • None
    • Affected OS(s): All OS Platforms
      Language Found: English

    Description

      Steps to reproduce:
      1. Run the app in bug SDK-25723 with FTE Text enabled.
      2. Click the button to open a MX window.

      Actual Results:

      TypeError: Error #1034: Type Coercion failed: cannot convert mx.managers::WindowedSystemManager@184db971 to flashx.textLayout.compose.ISWFContext.
      at mx.core::TextFieldFactory/createFTETextField()[/Users/cframpto/dev/4.x/frameworks/projects/framework/src/mx/core/TextFieldFactory.as:178]
      at mx.core::UITextFormat/measure()[/Users/cframpto/dev/4.x/frameworks/projects/framework/src/mx/core/UITextFormat.as:550]
      at mx.core::UITextFormat/measureText()[/Users/cframpto/dev/4.x/frameworks/projects/framework/src/mx/core/UITextFormat.as:492]
      at mx.core::UIComponent/measureText()[/Users/cframpto/dev/4.x/frameworks/projects/framework/src/mx/core/UIComponent.as:8555]
      at mx.controls::Button/http://www.adobe.com/2006/flex/mx/internal::layoutContents()[/Users/cframpto/dev/4.x/frameworks/projects/framework/src/mx/controls/Button.as:2220]
      at mx.controls::Button/updateDisplayList()[/Users/cframpto/dev/4.x/frameworks/projects/framework/src/mx/controls/Button.as:1761]
      at mx.core::UIComponent/validateDisplayList()[/Users/cframpto/dev/4.x/frameworks/projects/framework/src/mx/core/UIComponent.as:8659]
      at mx.managers::LayoutManager/validateDisplayList()[/Users/cframpto/dev/4.x/frameworks/projects/framework/src/mx/managers/LayoutManager.as:663]
      at mx.managers::LayoutManager/doPhasedInstantiation()[/Users/cframpto/dev/4.x/frameworks/projects/framework/src/mx/managers/LayoutManager.as:736]
      at mx.managers::LayoutManager/doPhasedInstantiationCallback()[/Users/cframpto/dev/4.x/frameworks/projects/framework/src/mx/managers/LayoutManager.as:1072]

      Expected Results:

      no RTE
      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