-
Bug
-
Resolution: Fixed
-
Major
-
4.0RC2
-
None
-
None
This is the error and in attachments the js
2017-01-31 17:12:46,092 ERROR [sitemap] (http-nio-8080-exec-10;/live/intranet/_plugins/core-ui/resources-minimized/LTgxNjUyMjEzMWZy.js) Cannot minimize JS for file '/live/skins/Intranet/resources/js/selectnav.js (1485870746000)'. Due to the following errors: [ERROR] il manque ';' avant une instruction ( */window.selectnav = function() {: 10) [ERROR] la valeur renvoyée est incorrecte ( return function(b, c) {: 11) [ERROR] erreur de syntaxe (}();: 1) [ERROR] Compilation produced 3 syntax errors. (null: 0) org.mozilla.javascript.EvaluatorException: Compilation produced 3 syntax errors. at org.ametys.plugins.core.ui.minimize.MinimizeJSReader$LoggerErrorReporter.runtimeError(MinimizeJSReader.java:140) at org.mozilla.javascript.Parser.parse(Parser.java:396) at org.mozilla.javascript.Parser.parse(Parser.java:340) at com.yahoo.platform.yui.compressor.JavaScriptCompressor.parse(JavaScriptCompressor.java:315) at com.yahoo.platform.yui.compressor.JavaScriptCompressor.<init>(JavaScriptCompressor.java:540) at org.ametys.plugins.core.ui.minimize.MinimizeJSReader._handleFile(MinimizeJSReader.java:73) at org.ametys.plugins.core.ui.minimize.AbstractMinimizeReader._handleFiles(AbstractMinimizeReader.java Carca
- Est bloqué par
-
RUNTIME-2470 Replace yuicompressor by a more up-to-date library for JS minimization
- Closed