Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-3047

Undo fails in IE when called inside a paragraph

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.7
    • Fix Version/s: 1.7.1, 1.8 M1
    • Component/s: WYSIWYG Editor
    • Labels:
      None
    • Environment:
      IE7
    • Tests:
      Unit
    • Similar issues:

      Description

      how to reproduce:

      • open an empty document
      • insert text
      • set formatting to paragraph
      • type some more text
      • hit ctrl + Z to undo

      an error would occur on internet explorer saying that an access to an unexpected property has been made.

      There is an issue in the DefaultHistory.getNode() on node.getChildNodes.getLength() (line 258) when node is a text node.

      The issue has occurred on IE7, haven't tested on IE6.

        Attachments

          Activity

            People

            • Assignee:
              mflorea Marius Dumitru Florea
              Reporter:
              lucaa Anca Luca
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Date of First Response: