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

Deferred updates are still executed after WysiwygEditor.release()

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 1.9.1, 2.0 M2
    • 1.9, 2.0 M1
    • WYSIWYG Editor
    • None
    • any
    • release deferred update
    • Unknown

    Description

      Currently, if you remove the WYSIWYG editor from the DOM document after calling release you'll get JavaScript exceptions like:

      Object com.xpn.xwiki.wysiwyg.client.util.DeferredUpdater com.xpn.xwiki.wysiwyg.client.plugin.text.TextPlugin
      Object com.xpn.xwiki.wysiwyg.client.util.DeferredUpdater com.xpn.xwiki.wysiwyg.client.plugin.valign.VerticalAlignPlugin
      Object com.xpn.xwiki.wysiwyg.client.util.DeferredUpdater com.xpn.xwiki.wysiwyg.client.plugin.list.ListPlugin
      Object com.xpn.xwiki.wysiwyg.client.util.DeferredUpdater com.xpn.xwiki.wysiwyg.client.plugin.format.FormatPlugin
      Object com.xpn.xwiki.wysiwyg.client.util.DeferredUpdater com.xpn.xwiki.wysiwyg.client.plugin.macro.MacroSelector
      Object com.xpn.xwiki.wysiwyg.client.editor.WysiwygEditor com.xpn.xwiki.wysiwyg.client.editor.WysiwygEditor$SyntaxValidationCommand
      

      due to the fact that deferred updates continue to be executed.

      Attachments

        Activity

          People

            mflorea Marius Dumitru Florea
            mflorea Marius Dumitru Florea
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: