flex-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ridwan Benjamin (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLEX-35358) ButtonBarButton on set data function need to dispatch FlexEvent dataChange
Date Wed, 27 Sep 2017 06:33:00 GMT

    [ https://issues.apache.org/jira/browse/FLEX-35358?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16182084#comment-16182084
] 

Ridwan Benjamin commented on FLEX-35358:
----------------------------------------

After further investigation. It looks like it's crashing on AlignToolSkin.

For some reason in the mxml below, it's treating dataChange as FlexEvent. 
<s:ButtonBarButton skinClass="spark.skins.spark.ButtonBarMiddleButtonSkin" dataChange="toolTip=data.toolTip"/>

It looks like there are some changes when the mxml is converted to actionscript between sdk
4.14 and 4.15. I tried Flex SDK 4.14 it's working but not 4.15 onwards.

> 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)

Mime
View raw message