Uploaded image for project: '{RETIRED} XWiki Enterprise'
  1. {RETIRED} XWiki Enterprise
  2. XE-927

WYSIWYG Admin Section JSX Errors

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • 3.1 RC1
    • 3.1 M2
    • None
    • None

    Description

      Steps to reproduce:

      -login
      -go to administration section
      -go to WYSIWYG Editor Section

      Because of this, this section is not functional under IE browsers. This is why I put this as a Critical.

      Firefox functionality doesn't seem to be affected, but I get these errors on each refresh/reload of the page.

      I get the following code in terminal

      2011-05-27 16:19:35,535 http://localhost:8080/xwiki/bin/jsx/XWiki/WysiwygEditorConfigSheet?language=en WARN c.x.x.w.s.JsExtension - Error at line 558, column 11: invalid property id. Caused by: [ import : {]
      2011-05-27 16:19:35,536 http://localhost:8080/xwiki/bin/jsx/XWiki/WysiwygEditorConfigSheet?language=en WARN c.x.x.w.s.JsExtension - Error at line 558, column 13: syntax error. Caused by: [ import : {]
      2011-05-27 16:19:35,536 http://localhost:8080/xwiki/bin/jsx/XWiki/WysiwygEditorConfigSheet?language=en WARN c.x.x.w.s.JsExtension - Error at line 559, column 15: syntax error. Caused by: [ feature: "import",]
      2011-05-27 16:19:35,536 http://localhost:8080/xwiki/bin/jsx/XWiki/WysiwygEditorConfigSheet?language=en WARN c.x.x.w.s.JsExtension - Error at line 560, column 15: syntax error. Caused by: [ subMenu: ["importOffice"]]
      2011-05-27 16:19:35,537 http://localhost:8080/xwiki/bin/jsx/XWiki/WysiwygEditorConfigSheet?language=en WARN c.x.x.w.s.JsExtension - Error at line 563, column 15: missing ) in parenthetical. Caused by: [ initialize : function($super, values, possibleValues)

      {] 2011-05-27 16:19:35,537 [http://localhost:8080/xwiki/bin/jsx/XWiki/WysiwygEditorConfigSheet?language=en] WARN c.x.x.w.s.JsExtension - Error at line 567, column 3: syntax error. Caused by: [ }

      ,]
      2011-05-27 16:19:35,537 http://localhost:8080/xwiki/bin/jsx/XWiki/WysiwygEditorConfigSheet?language=en WARN c.x.x.w.s.JsExtension - Error at line 568, column 13: syntax error. Caused by: [ getValue : function()

      {] 2011-05-27 16:19:35,537 [http://localhost:8080/xwiki/bin/jsx/XWiki/WysiwygEditorConfigSheet?language=en] WARN c.x.x.w.s.JsExtension - Error at line 573, column 11: invalid return. Caused by: [ return Object.toJSON(menu);] 2011-05-27 16:19:35,538 [http://localhost:8080/xwiki/bin/jsx/XWiki/WysiwygEditorConfigSheet?language=en] WARN c.x.x.w.s.JsExtension - Error at line 574, column 3: syntax error. Caused by: [ }

      ,]
      2011-05-27 16:19:35,538 http://localhost:8080/xwiki/bin/jsx/XWiki/WysiwygEditorConfigSheet?language=en WARN c.x.x.w.s.JsExtension - Error at line 575, column 19: syntax error. Caused by: [ _extractValues : function(menuJSON)

      {] 2011-05-27 16:19:35,538 [http://localhost:8080/xwiki/bin/jsx/XWiki/WysiwygEditorConfigSheet?language=en] WARN c.x.x.w.s.JsExtension - Error at line 580, column 11: invalid return. Caused by: [ return topMenuItems.join(' ');] 2011-05-27 16:19:35,538 [http://localhost:8080/xwiki/bin/jsx/XWiki/WysiwygEditorConfigSheet?language=en] WARN c.x.x.w.s.JsExtension - Error at line 581, column 3: syntax error. Caused by: [ }

      ]
      2011-05-27 16:19:35,539 http://localhost:8080/xwiki/bin/jsx/XWiki/WysiwygEditorConfigSheet?language=en WARN c.x.x.w.s.JsExtension - Error at line 582, column 2: syntax error. Caused by: [});]
      2011-05-27 16:19:35,539 http://localhost:8080/xwiki/bin/jsx/XWiki/WysiwygEditorConfigSheet?language=en WARN c.x.x.w.s.JsExtension - Error at line 584, column 7: invalid return. Caused by: [return XWiki;]
      2011-05-27 16:19:35,539 http://localhost:8080/xwiki/bin/jsx/XWiki/WysiwygEditorConfigSheet?language=en WARN c.x.x.w.s.JsExtension - Error at line 585, column 1: syntax error. Caused by: [}(XWiki || {}));]
      2011-05-27 16:19:35,539 http://localhost:8080/xwiki/bin/jsx/XWiki/WysiwygEditorConfigSheet?language=en ERROR c.x.x.w.s.JsExtension - Runtime error minimizing JSX object: Compilation produced 15 syntax errors.
      2011-05-27 16:19:35,539 http://localhost:8080/xwiki/bin/jsx/XWiki/WysiwygEditorConfigSheet?language=en WARN c.x.x.w.s.JsExtension - Failed to compress JS extension: null

      Attachments

        Activity

          People

            sdumitriu Sergiu Dumitriu
            sorinello Sorin Burjan
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: