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

ButtonBarButton on set data function need to dispatch FlexEvent dataChange

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Critical
    • Resolution: Unresolved
    • Apache Flex 4.16.0
    • Apache Flex 4.17.0
    • Spark: RichText
    • None
    • Patch, Important

    Description

      Since I've updated to Flex SDK 4.16. I got a crash when using RichTextEditor.

      The issue seems to be that in the class spark.components.ButtonBarButton on set data function, it dispatch dispatchEvent(new Event("dataChange")). It should dispatch FlexEvent instead of Event.

      This cause various class that listen to the FlexEvent.DATA_CHANGE to error because it's expecting it to be FlexEvent class instead of Event class

      Attachments

        Activity

          People

            Unassigned Unassigned
            razorf80 Ridwan Benjamin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: