Details
-
Bug
-
Resolution: Fixed
-
Major
-
7.3, 8.3-rc-1
-
None
-
Unknown
-
N/A
-
N/A
-
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
- is related to
-
XWIKI-13775 Replace YUICompressor by something else for JavaScript minification
- Closed