You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flex.apache.org by "Ridwan Benjamin (JIRA)" <ji...@apache.org> on 2017/09/27 05:18:00 UTC
[jira] [Created] (FLEX-35358) ButtonBarButton on set data function
need to dispatch FlexEvent dataChange
Ridwan Benjamin created FLEX-35358:
--------------------------------------
Summary: ButtonBarButton on set data function need to dispatch FlexEvent dataChange
Key: FLEX-35358
URL: https://issues.apache.org/jira/browse/FLEX-35358
Project: Apache Flex
Issue Type: Bug
Components: Spark: ButtonBar
Affects Versions: Apache Flex 4.16.0
Reporter: Ridwan Benjamin
Priority: Critical
Fix For: Apache Flex 4.16.0
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
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)