Details

      Description

      When navigating to the faceted search page this error is thrown

      2014-06-05 10:05:25,787  WARN  [extensions.surf.DependencyAggregator] [http-bio-8080-exec-20] The file: "components/preview/pdfjs/pdf.worker.js" could not be compressed due to the following error:
       com.yahoo.platform.yui.javascript.EvaluatorException: Compilation produced 11 syntax errors.
      

      The error is removed if a bean as in ALF-15473 is added to slingshot-application-context.xml

         <bean id="dependency.aggregator" parent="dependency.aggregator.abstract" class="org.springframework.extensions.surf.DependencyAggregator">
            <property name="compressionExclusions">
               <list>
                  <value>components/preview/pdfjs/*.js</value>
               </list>
            </property>
         </bean>
      

      PdfJS viewer still works even if this error is thrown. Maybe the fix should be in Dojo dependency injection and loading the already minified version. The file pfd.worker.js does not seem to be used in the faceted search page.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                closedissues Closed Issues
                Reporter:
                kroast Kevin Roast [X] (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: