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

A warning is displayed on the log when a Flamingo Theme is being edited

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 7.3, 8.3-rc-1
    • Fix Version/s: 8.3, 8.4-rc-1, 7.4.6
    • Component/s: Flamingo Theme
    • Labels:
      None
    • Difficulty:
      Unknown
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      Description

      Just edit a flamingo theme and look at the console:

      2016-10-05 15:36:39,919 [http://localhost:8080/xwiki/bin/jsx/FlamingoThemesCode/ThemeSheet?language=en&docVersion=1.1] WARN  c.x.x.w.s.JsExtension          - Error at line 82, column 84: il manque un nom après un opérateur '.'. Caused by: [        iframe[0].contentWindow.lessJs.modifyVars(varMap).then(removeCurtain).catch(removeCurtain);] 
      2016-10-05 15:36:39,922 [http://localhost:8080/xwiki/bin/jsx/FlamingoThemesCode/ThemeSheet?language=en&docVersion=1.1] ERROR c.x.x.w.s.JsExtension          - Runtime error minimizing JSX object: Compilation produced 1 syntax errors. 
      2016-10-05 15:36:39,923 [http://localhost:8080/xwiki/bin/jsx/FlamingoThemesCode/ThemeSheet?language=en&docVersion=1.1] WARN  c.x.x.w.s.JsExtension          - Failed to compress JS extension: null 
      

      This error is actually wrong (the JS code is perfectly valid) but this message appears for some reason.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                gdelhumeau Guillaume Delhumeau
                Reporter:
                gdelhumeau Guillaume Delhumeau
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

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