Uploaded image for project: 'Workspaces'
  1. Workspaces
  2. WORKSPACES-164

Document module does not work in production mode

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.0.0
    • Component/s: None
    • Labels:
      None

      Description

      Date:			Thu Jan 05 18:32:55 CET 2017 (1483637575685)
      Thread:		http-apr-8080-exec-4
      Message #:	9621
      Level:		ERROR
      NDC:			
      Category:	sitemap
      Message:		Cannot minimize JS for file '/preview/plugins/intranet/resources/js/vendor/angular-ui/ui-tree/angular-ui-tree.js (1479401422080)'. Due to the following errors:
      [ERROR] il manque un nom après un opérateur '.' (                    .catch(function () {: 27)
      [ERROR] erreur de syntaxe (                      bindDragStartEvents();: 43)
      [ERROR] il manque un nom après un opérateur '.' (                    .finally(function () {: 29)
      [ERROR] erreur de syntaxe (                      hiddenPlaceElm.replaceWith(scope.$element);: 38)
      [ERROR] il manque ';' avant une instruction (                    });: 22)
      [ERROR] il manque '}' après une liste de propriétés (              });: 16)
      [ERROR] il manque ']' après une liste d'éléments (            };: 14)
      [ERROR] il manque ')' dans des parenthèses (        };: 9)
      [ERROR] erreur de syntaxe (      }: 7)
      [ERROR] erreur de syntaxe (    ]);: 6)
      [ERROR] erreur de syntaxe (})();: 1)
      [ERROR] Compilation produced 11 syntax errors. (null: 0)
      Location:	org.apache.cocoon.util.log.SLF4JLoggerAdapter.error(SLF4JLoggerAdapter.java:46)
      Thrown:
      org.mozilla.javascript.EvaluatorException: Compilation produced 11 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:536)
      	at org.ametys.plugins.core.ui.minimize.MinimizeJSReader._handleFile(MinimizeJSReader.java:73)
      	at org.ametys.plugins.core.ui.minimize.AbstractMinimizeReader._handleFiles(AbstractMinimizeReader.java:105)
      	at org.ametys.plugins.core.ui.minimize.AbstractMinimizeReader.generate(AbstractMinimizeReader.java:89)
      

        Attachments

          Activity

            People

            • Assignee:
              trizzi Thibaut Rizzi (Inactive)
              Reporter:
              laurence Laurence Aumeunier
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: