You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flex.apache.org by "Shigeru Nakagaki (JIRA)" <ji...@apache.org> on 2015/01/20 02:04:03 UTC

[jira] [Updated] (FLEX-34719) ParaEdit throws RTE TypeError #1009

     [ https://issues.apache.org/jira/browse/FLEX-34719?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Shigeru Nakagaki updated FLEX-34719:
------------------------------------
    Description: 
I guess our customer pasted something, then two RTE happened.

The first RTE is below
----------*----------*----------*----------*----------*----------*----------*
TypeError: Error #1009
 	at flashx.textLayout.edit::ParaEdit$/insertText()
 	at flashx.textLayout.operations::InsertTextOperation/doInternal()
 	at flashx.textLayout.operations::InsertTextOperation/doOperation()
 	at flashx.textLayout.edit::EditManager/doInternal()
 	at flashx.textLayout.edit::EditManager/doOperation()
 	at flashx.textLayout.edit::EditManager/flushPendingOperations()
 	at flashx.textLayout.edit::EditManager/insertText()
 	at spark.components::RichEditableText/handlePasteOperation()
 	at spark.components::RichEditableText/textContainerManager_flowOperationEndHandler()
 	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/_onKeyDownCapture()

The 2nd RTE happened in the same second and it's below.
----------*----------*----------*----------*----------*----------*----------*
TypeError: Error #1009
 	at flashx.textLayout.edit::TextFlowEdit$/insertTextScrap()
 	at flashx.textLayout.operations::PasteOperation/doOperation()
 	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/_onKeyDownCapture()

I'm asking what a user pasted to s:TextInput.
This RTE does not happen often but it happens sometimes.

Also s:TextInput#restrict = "0-9".
I tried to paste
  1. something not text like a file and an image,
  2. a cell of MS Excel
  3. text of MS Word
  4. text with CRLF
But I could not reproduce this RTE.

thanks

  was:
I guess our customer pasted something, then two RTE happened.

The first RTE is below
----------*----------*----------*----------*----------*----------*----------*
TypeError: Error #1009
 	at flashx.textLayout.edit::ParaEdit$/insertText()
 	at flashx.textLayout.operations::InsertTextOperation/doInternal()
 	at flashx.textLayout.operations::InsertTextOperation/doOperation()
 	at flashx.textLayout.edit::EditManager/doInternal()
 	at flashx.textLayout.edit::EditManager/doOperation()
 	at flashx.textLayout.edit::EditManager/flushPendingOperations()
 	at flashx.textLayout.edit::EditManager/insertText()
 	at spark.components::RichEditableText/handlePasteOperation()
 	at spark.components::RichEditableText/textContainerManager_flowOperationEndHandler()
 	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/_onKeyDownCapture()

The 2nd RTE happened in the same second and it's below.
----------*----------*----------*----------*----------*----------*----------*
TypeError: Error #1009
 	at flashx.textLayout.edit::TextFlowEdit$/insertTextScrap()
 	at flashx.textLayout.operations::PasteOperation/doOperation()
 	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/_onKeyDownCapture()

I'm asking what a user pasted to s:TextInput.
This RTE does not happen often but it happens sometimes.

thanks


> ParaEdit throws RTE TypeError #1009
> -----------------------------------
>
>                 Key: FLEX-34719
>                 URL: https://issues.apache.org/jira/browse/FLEX-34719
>             Project: Apache Flex
>          Issue Type: Bug
>          Components: Spark: RichEditableText
>    Affects Versions: Apache Flex 4.13.0
>         Environment: Adobe AIR : 14.0.0.178, Windows 7 Japanese
>            Reporter: Shigeru Nakagaki
>            Priority: Minor
>
> I guess our customer pasted something, then two RTE happened.
> The first RTE is below
> ----------*----------*----------*----------*----------*----------*----------*
> TypeError: Error #1009
>  	at flashx.textLayout.edit::ParaEdit$/insertText()
>  	at flashx.textLayout.operations::InsertTextOperation/doInternal()
>  	at flashx.textLayout.operations::InsertTextOperation/doOperation()
>  	at flashx.textLayout.edit::EditManager/doInternal()
>  	at flashx.textLayout.edit::EditManager/doOperation()
>  	at flashx.textLayout.edit::EditManager/flushPendingOperations()
>  	at flashx.textLayout.edit::EditManager/insertText()
>  	at spark.components::RichEditableText/handlePasteOperation()
>  	at spark.components::RichEditableText/textContainerManager_flowOperationEndHandler()
>  	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/_onKeyDownCapture()
> The 2nd RTE happened in the same second and it's below.
> ----------*----------*----------*----------*----------*----------*----------*
> TypeError: Error #1009
>  	at flashx.textLayout.edit::TextFlowEdit$/insertTextScrap()
>  	at flashx.textLayout.operations::PasteOperation/doOperation()
>  	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/_onKeyDownCapture()
> I'm asking what a user pasted to s:TextInput.
> This RTE does not happen often but it happens sometimes.
> Also s:TextInput#restrict = "0-9".
> I tried to paste
>   1. something not text like a file and an image,
>   2. a cell of MS Excel
>   3. text of MS Word
>   4. text with CRLF
> But I could not reproduce this RTE.
> thanks



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)