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

Exception when loading the wysiwyg with a CSS

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 1.7 RC1
    • 1.7 RC1
    • WYSIWYG Editor
    • None

    Description

      When there is a significantly big stylesheet specified for the wysiwyg editor content and the loading takes some moments, the following type of exceptions occur (copied from firebug console):

      [Exception... "Component returned failure code: 0x80070057 (NS_ERROR_ILLEGAL_VALUE) [nsISelection.getRangeAt]" nsresult: "0x80070057 (NS_ERROR_ILLEGAL_VALUE)" location: "JS frame :: http://localhost:8080/xwiki/com.xpn.xwiki.wysiwyg.Wysiwyg/E82E1ED449DF5597D6D8682DDD4AC87D.cache.html :: com_xpn_xwiki_wysiwyg_client_widget_rta_history_internal_DefaultHistory_$save__Lcom_xpn_xwiki_wysiwyg_client_widget_rta_history_internal_DefaultHistory_2 :: line 21045" data: no]
      [Break on this error] range = com_xpn_xwiki_wysiwyg_client_d...ultSelection_2I_range_0.getRangeAt(0)));
      

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: