Uploaded image for project: 'Apache Flex'
  1. Apache Flex
  2. FLEX-34719

ParaEdit throws RTE TypeError #1009

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • Apache Flex 4.13.0
    • None
    • None
    • Adobe AIR : 14.0.0.178, Windows 7 Japanese

    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

      Attachments

        Activity

          People

            Unassigned Unassigned
            shigeru Shigeru Nakagaki
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: