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

Marcus Wilkinson edited comment on FLEX-34013 at 4/15/14 5:07 PM:
------------------------------------------------------------------

Managed to reproduce it - please see attached project.

Conditions:
Clipboard must have multi-line TLF contents before pasting into a TextInput

It looks like RichEditableText.textContainerManager_flowOperationBeginHandler 
is getting hit twice and the second time there is nothing on the clipboard. 
Perhaps someone with more knowledge of this area could take a look?


was (Author: marcus_sparkus):
Managed to reproduce it - please see attached project.

Conditions:
Clipboard must have multi-line TLF contents before pasting into a TextInput

> RTE at TextClipboard#importToScrap()
> ------------------------------------
>
>                 Key: FLEX-34013
>                 URL: https://issues.apache.org/jira/browse/FLEX-34013
>             Project: Apache Flex
>          Issue Type: Bug
>          Components: Spark: RichEditableText
>    Affects Versions: Apache Flex 4.11.0
>         Environment: Windows 7
>            Reporter: Shigeru Nakagaki
>         Attachments: TextScrap.fxp
>
>
> This problem should be related with FLEX-33988.
> However,  I guess this is not same problem exactly.
> I can not reproduce this RTE. But it's happened.
> thanks
>  TypeError: Error #1009
>       at 
> flashx.textLayout.edit::TextClipboard$/http://ns.adobe.com/textLayout/internal/2008::importToScrap()
>       at 
> spark.components::RichEditableText/textContainerManager_flowOperationBeginHandler()
>       at flash.events::EventDispatcher/dispatchEvent()
>       at flashx.textLayout.container::TextContainerManager/dispatchEvent()
>       at flash.events::EventDispatcher/dispatchEvent()
>       at flashx.textLayout.elements::TextFlow/dispatchEvent()
>       at flashx.textLayout.edit::EditManager/doInternal()
>       at flashx.textLayout.edit::EditManager/doOperation()
>       at flashx.textLayout.edit::EditManager/pasteTextScrap()
>       at flashx.textLayout.edit::EditManager/editHandler()
>       at flashx.textLayout.container::ContainerController/editHandler()
>       at flashx.textLayout.container::TextContainerManager/editHandler()
>       at flash.desktop::NativeApplication/_onKeyDownBubble()



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to