Uploaded image for project: 'Inline Media'
  1. Inline Media
  2. INLINEMEDIA-61

YouTube playlist does not in production mode

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • 2.1.0
    • None
    • None

      2017-10-05 11:04:57,154 ERROR [sitemap] (http-nio-8080-exec-13;/cms/generate/www/_plugins/web/resources-minimized/MTI5MDAyNTkxNWZy.js) Cannot minimize JS for file '/plugins/inlinemedia/resources/js/playlist.js (1507136574000)'. Due to the following errors:
      [ERROR] il manque un nom après un opérateur '.' (				var thumb = item.snippet.thumbnails.default.url;: 48)
      [ERROR] Compilation produced 1 syntax errors. (null: 0)
      org.mozilla.javascript.EvaluatorException: Compilation produced 1 syntax errors.
      	at org.ametys.plugins.core.ui.minimize.MinimizeJSReader$LoggerErrorReporter.runtimeError(MinimizeJSReader.java:141)
      	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:74)
      	at org.ametys.plugins.core.ui.minimize.AbstractMinimizeReader._handleFiles(AbstractMinimizeReader.java:131)
      	at org.ametys.plugins.core.ui.minimize.AbstractMinimizeReader.generate(AbstractMinimizeReader.java:94)
      	at org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.processReader(AbstractCachingProcessingPipeline.java:921)
      	at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:475)
      	at org.apache.cocoon.components.treeprocessor.sitemap.ReadNode.invoke(ReadNode.java:85)
      	at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:47)
      	at org.apache.cocoon.components.treeprocessor.sitemap.MatchNode.invoke(MatchNode.java:108)
      

      default is a reserved word.

            Unassigned Unassigned
            laurence Laurence Aumeunier
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: