You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flex.apache.org by "Justin Mclean (JIRA)" <ji...@apache.org> on 2013/03/10 22:43:12 UTC
[jira] [Resolved] (FLEX-33405) TitleWindow with TextInput throws
exception on close using mobile skins
[ https://issues.apache.org/jira/browse/FLEX-33405?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Justin Mclean resolved FLEX-33405.
----------------------------------
Resolution: Fixed
Fix Version/s: Apache Flex 4.10.0
Fixed in check in 1454924. Related Mustella tests TitleWindow and PopupManager pass.
> TitleWindow with TextInput throws exception on close using mobile skins
> -----------------------------------------------------------------------
>
> Key: FLEX-33405
> URL: https://issues.apache.org/jira/browse/FLEX-33405
> Project: Apache Flex
> Issue Type: Bug
> Components: Spark: TitleWindow
> Affects Versions: Apache Flex 4.9.0
> Environment: mobile
> Reporter: Jozef Chutka
> Assignee: Justin Mclean
> Priority: Critical
> Labels: CloseEvent, PopUpEvent, TextInput, TitleWindow, exception, mobile
> Fix For: Apache Flex 4.10.0
>
>
> reproduce:
> 1. create a mobile flex project and run on mobile device
> 2. create TitleWindow with TextInput child
> 3. open popup using PopUpManager
> 4. try to close the popup using close button
> 5. see the exception
> Main Thread (Suspended: TypeError: Error #1034: Type Coercion failed: cannot convert mx.events::CloseEvent@6a1699d1 to spark.events.PopUpEvent.)
> flash.events::EventDispatcher/dispatchEventFunction [no source]
> flash.events::EventDispatcher/dispatchEvent [no source]
> mx.core::UIComponent/dispatchEvent
> spark.components::TitleWindow/closeButton_clickHandler
> reason:
> my best guess is it is somehow mobile skin related
> possible fix:
> extend TitleWindow and do
> override protected function closeButton_clickHandler(event:MouseEvent):void
> {
> dispatchEvent(new PopUpEvent(PopUpEvent.CLOSE));
> }
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira