Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-41189

Unable to Preview Document Attachments in Latest Firefox Version

    XMLWordPrintable

Details

    Description

      NOTE: This bug report is for Confluence Server. Using Confluence Cloud? See the corresponding bug report.

      Summary

      When attempting to Preview a document attachment on a page with the most recent release of Firefox, the document preview starts the loading process, but the document never loads. (Tested with PDF, Word, and Excel documents)

      Environment

      • Confluence 6.0.0-OD-2016.12.2-1113
      • Firefox 45.0 and 45.0.1, 45.0.2

      Steps to Reproduce

      1. Add a PDF attachment to any Confluence page and save the page.
      2. Visit the page
      3. Click on the attachment thumbnail to open the preview feature

      Expected Results

      Preview feature loads successfully to navigate through the document.

      Actual Results

      The preview feature begins the loading process but continues loading indefinitely without bringing up the attachment. The following are observed in the browser console logs:

      Value of "AJS.$.fn.enable" was overridden batch.js:37:227
      unreachable code after return statement batch.js:320:836
      Value of "AJS.Confluence.QuickEdit" was overridden batch.js:37:227
      Failed to run init function: TypeError: E(...)[0] is undefined
      function (){if(AJS.version>="3.0"){var a=AJS.$("#poweredby:visible");if(a.length>0){a.before(AJS.template.load("gliffy-webpanel-footer"))}}} batch.js:174:328
      DEPRECATED - Inline dialog constructor has been deprecated and will be removed in a future release. Use inline dialog 2 instead.  
       c@https://d2p4ir3ro0j0cb.cloudfront.net/<instance>.atlassian.net/wiki/s/193b723f402efba30f828948bafb2b8d-CDN/en_GB/6436/5154d041630dcebfb8dedd49686d2af97e042a52/5b957b12254c351c813d1a7b48864275/_/download/contextbatch/js/atl.confluence.plugins.pagetree-desktop,main,viewcontent,atl.general,page,atl.comments,-_super/batch.js?analytics-enabled=true&atlassian.aui.raphael.disabled=true&confluence.view.edit.transition=true&highlightactions=true&hostenabled=true&jquery.external=true&locale=en-GB:4135:2508 batch.js:174:328
      DEPRECATED - Inline dialog constructor has been deprecated and will be removed in a future release. Use inline dialog 2 instead.  
       AJS.Confluence.SharePage.initDialog@https://d2p4ir3ro0j0cb.cloudfront.net/<instance>.atlassian.net/wiki/s/193b723f402efba30f828948bafb2b8d-CDN/en_GB/6436/5154d041630dcebfb8dedd49686d2af97e042a52/5b957b12254c351c813d1a7b48864275/_/download/contextbatch/js/atl.confluence.plugins.pagetree-desktop,main,viewcontent,atl.general,page,atl.comments,-_super/batch.js?analytics-enabled=true&atlassian.aui.raphael.disabled=true&confluence.view.edit.transition=true&highlightactions=true&hostenabled=true&jquery.external=true&locale=en-GB:4593:8753 batch.js:174:328
      DEPRECATED - Inline dialog constructor has been deprecated and will be removed in a future release. Use inline dialog 2 instead.  
       a@https://d2p4ir3ro0j0cb.cloudfront.net/<instance>.atlassian.net/wiki/s/193b723f402efba30f828948bafb2b8d-CDN/en_GB/6436/5154d041630dcebfb8dedd49686d2af97e042a52/5b957b12254c351c813d1a7b48864275/_/download/contextbatch/js/atl.confluence.plugins.pagetree-desktop,main,viewcontent,atl.general,page,atl.comments,-_super/batch.js?analytics-enabled=true&atlassian.aui.raphael.disabled=true&confluence.view.edit.transition=true&highlightactions=true&hostenabled=true&jquery.external=true&locale=en-GB:1231:1350 batch.js:174:328
      Downloading resources:
      js!//d2p4ir3ro0j0cb.cloudfront.net/<instance>.atlassian.net/wiki/s/d41d8cd98f00b204e9800998ecf8427e-CDN/en_GB/6436/5154d041630dcebfb8dedd49686d2af97e042a52/04babdfd50c8394d5eea19ab7d7229ee/_/download/contextbatch/js/browser-metrics-plugin.contrib,-_super,-viewcontent/batch.js?atlassian.aui.raphael.disabled=true&confluence.view.edit.transition=true&highlightactions=true&jquery.external=true!order batch.js:174:328
      DEPRECATED - Inline dialog constructor has been deprecated and will be removed in a future release. Use inline dialog 2 instead.  
       f@https://d2p4ir3ro0j0cb.cloudfront.net/<instance>.atlassian.net/wiki/s/193b723f402efba30f828948bafb2b8d-CDN/en_GB/6436/5154d041630dcebfb8dedd49686d2af97e042a52/5b957b12254c351c813d1a7b48864275/_/download/contextbatch/js/atl.confluence.plugins.pagetree-desktop,main,viewcontent,atl.general,page,atl.comments,-_super/batch.js?analytics-enabled=true&atlassian.aui.raphael.disabled=true&confluence.view.edit.transition=true&highlightactions=true&hostenabled=true&jquery.external=true&locale=en-GB:1241:1047 batch.js:174:328
      DEPRECATED - Inline dialog constructor has been deprecated and will be removed in a future release. Use inline dialog 2 instead.  
       Confluence.ScrollingInlineDialog@https://d2p4ir3ro0j0cb.cloudfront.net/<instance>.atlassian.net/wiki/s/193b723f402efba30f828948bafb2b8d-CDN/en_GB/6436/5154d041630dcebfb8dedd49686d2af97e042a52/5b957b12254c351c813d1a7b48864275/_/download/contextbatch/js/atl.confluence.plugins.pagetree-desktop,main,viewcontent,atl.general,page,atl.comments,-_super/batch.js?analytics-enabled=true&atlassian.aui.raphael.disabled=true&confluence.view.edit.transition=true&highlightactions=true&hostenabled=true&jquery.external=true&locale=en-GB:2056:1694 batch.js:174:328
      DEPRECATED - OnTop has been deprecated and will be removed in a future release. 
       D/<@https://d2p4ir3ro0j0cb.cloudfront.net/<instance>.atlassian.net/wiki/s/8868fd145284c67703ebfc5fcba9a653-CDN/en_GB/6436/5154d041630dcebfb8dedd49686d2af97e042a52/e49a548de841f11a5579c0f770eb906b/_/download/contextbatch/js/_super/batch.js?atlassian.aui.raphael.disabled=true&jquery.external=true&locale=en-GB:179:1129 batch.js:174:328
      Downloading resources:
      js!//d2p4ir3ro0j0cb.cloudfront.net/<instance>.atlassian.net/wiki/s/d41d8cd98f00b204e9800998ecf8427e-CDN/en_GB/6436/5154d041630dcebfb8dedd49686d2af97e042a52/5.7.23/_/download/batch/confluence.extra.jira:jira-issues-view-mode-async-resource/confluence.extra.jira:jira-issues-view-mode-async-resource.js!order batch.js:174:328
      DEPRECATED - Inline dialog constructor has been deprecated and will be removed in a future release. Use inline dialog 2 instead.  
       a@https://d2p4ir3ro0j0cb.cloudfront.net/<instance>.atlassian.net/wiki/s/193b723f402efba30f828948bafb2b8d-CDN/en_GB/6436/5154d041630dcebfb8dedd49686d2af97e042a52/5b957b12254c351c813d1a7b48864275/_/download/contextbatch/js/atl.confluence.plugins.pagetree-desktop,main,viewcontent,atl.general,page,atl.comments,-_super/batch.js?analytics-enabled=true&atlassian.aui.raphael.disabled=true&confluence.view.edit.transition=true&highlightactions=true&hostenabled=true&jquery.external=true&locale=en-GB:4512:602 batch.js:174:328
      Use of getPreventDefault() is deprecated.  Use defaultPrevented instead. jquery-1.7.2-fd-cache3.js:19:7231
      Downloading resources:
      css!//d2p4ir3ro0j0cb.cloudfront.net/<instance>.atlassian.net/wiki/s/4613d6eaabcf883cb7f14a354b82d2d6-CDN/en_GB/6436/5154d041630dcebfb8dedd49686d2af97e042a52/da7619fba2b4ae17aa5691f90c1ff712/_/download/contextbatch/css/editor,macro-browser,fullpage-editor,-_super,-atl.general,-viewcontent,-main,-page,-atl.comments/batch.css?analytics-enabled=true&atlassian.aui.raphael.disabled=true&build-number=6436&confluence.view.edit.transition=true&data-wrm-batch-type=context&data-wrm-key=editor%2Cmacro-browser%2Cfullpage-editor%2C-_super%2C-atl.general%2C-viewcontent%2C-main%2C-page%2C-atl.comments&highlightactions=true&hostenabled=true&jquery.external=true&relative-url=true
      js!//d2p4ir3ro0j0cb.cloudfront.net/<instance>.atlassian.net/wiki/s/154d7f71dda62fe55291cb2e4654a02b-CDN/en_GB/6436/5154d041630dcebfb8dedd49686d2af97e042a52/da7619fba2b4ae17aa5691f90c1ff712/_/download/contextbatch/js/editor,macro-browser,fullpage-editor,-_super,-atl.general,-viewcontent,-main,-page,-atl.comments/batch.js?analytics-enabled=true&atlassian.aui.raphael.disabled=true&build-number=6436&confluence.view.edit.transition=true&highlightactions=true&hostenabled=true&jquery.external=true&locale=en-GB!order batch.js:174:328
      Downloading resources:
      css!//d2p4ir3ro0j0cb.cloudfront.net/<instance>.atlassian.net/wiki/s/d41d8cd98f00b204e9800998ecf8427e-CDN/en_GB/6436/5154d041630dcebfb8dedd49686d2af97e042a52/5.7.23/_/download/batch/confluence.extra.jira:refresh-resources/confluence.extra.jira:refresh-resources.css?data-wrm-batch-type=resource&data-wrm-key=confluence.extra.jira%3Arefresh-resources&relative-url=true
      js!//d2p4ir3ro0j0cb.cloudfront.net/<instance>.atlassian.net/wiki/s/6c0981174e94142364564819dc0d1413-CDN/en_GB/6436/5154d041630dcebfb8dedd49686d2af97e042a52/5.7.23/_/download/batch/confluence.extra.jira:refresh-resources/confluence.extra.jira:refresh-resources.js?locale=en-GB!order batch.js:174:328
      Value of "Confluence.Defaults" was overridden batch.js:37:227
      "tinymce.documentBaseURL = https://d2p4ir3ro0j0cb.cloudfront.net/<instance>.atlassian.net/wiki/s/154d7f71dda62fe55291cb2e4654a02b-CDN/en_GB/6436/5154d041630dcebfb8dedd49686d2af97e042a52/da7619fba2b4ae17aa5691f90c1ff712/_/download/resources/com.atlassian.plugins.editor/tinymcesource" batch.js:174:328
      WARN: asynchronously loading a CSS resource containing a media query: //d2p4ir3ro0j0cb.cloudfront.net/<instance>.atlassian.net/wiki/s/4613d6eaabcf883cb7f14a354b82d2d6-CDN/en_GB/6436/5154d041630dcebfb8dedd49686d2af97e042a52/da7619fba2b4ae17aa5691f90c1ff712/_/download/contextbatch/css/editor,macro-browser,fullpage-editor,-_super,-atl.general,-viewcontent,-main,-page,-atl.comments/batch.css?analytics-enabled=true&atlassian.aui.raphael.disabled=true&build-number=6436&confluence.view.edit.transition=true&data-wrm-batch-type=context&data-wrm-key=editor%2Cmacro-browser%2Cfullpage-editor%2C-_super%2C-atl.general%2C-viewcontent%2C-main%2C-page%2C-atl.comments&highlightactions=true&hostenabled=true&jquery.external=true&media=print&relative-url=true batch.js:174:328
      Synchrony deferring initialisation until editor is activated. batch.js:174:328
      Use of attributes' nodeValue attribute is deprecated. Use value instead. batch.js:189:1398
      ANALYTICS: _setCustomVar, 1, product, Confluence, 3 batch.js:7640:3707
      ANALYTICS: _setCustomVar, 2, license, LicenseType<COMMERCIAL>, 3 batch.js:7640:3707
      ANALYTICS: _setCustomVar, 3, numUsers, 21, 3 batch.js:7640:3707
      Downloading resources:
      css!//d2p4ir3ro0j0cb.cloudfront.net/<instance>.atlassian.net/wiki/s/382a55d32e90abf81fce9ba45a0ceaa5-CDN/en_GB/6436/5154d041630dcebfb8dedd49686d2af97e042a52/2.1.5/_/download/batch/com.atlassian.confluence.plugins.confluence-previews:confluence-previews-css/com.atlassian.confluence.plugins.confluence-previews:confluence-previews-css.css?data-wrm-batch-type=resource&data-wrm-key=com.atlassian.confluence.plugins.confluence-previews%3Aconfluence-previews-css&relative-url=true batch.js:174:328
      Downloading resources:
      css!//d2p4ir3ro0j0cb.cloudfront.net/<instance>.atlassian.net/wiki/s/382a55d32e90abf81fce9ba45a0ceaa5-CDN/en_GB/6436/5154d041630dcebfb8dedd49686d2af97e042a52/a2ba24d1c7723f6506ccb6e3e8e4d4cf/_/download/contextbatch/css/file-viewer,-_super,-viewcontent,-main,-atl.general/batch.css?analytics-enabled=true&atlassian.aui.raphael.disabled=true&confluence.view.edit.transition=true&data-wrm-batch-type=context&data-wrm-key=file-viewer%2C-_super%2C-viewcontent%2C-main%2C-atl.general&highlightactions=true&hostenabled=true&jquery.external=true&relative-url=true
      js!//d2p4ir3ro0j0cb.cloudfront.net/<instance>.atlassian.net/wiki/s/b96ccf4b86c4df96e80ad9ce67bcedfc-CDN/en_GB/6436/5154d041630dcebfb8dedd49686d2af97e042a52/a2ba24d1c7723f6506ccb6e3e8e4d4cf/_/download/contextbatch/js/file-viewer,-_super,-viewcontent,-main,-atl.general/batch.js?analytics-enabled=true&atlassian.aui.raphael.disabled=true&confluence.view.edit.transition=true&highlightactions=true&hostenabled=true&jquery.external=true&locale=en-GB!order batch.js:174:328
      DEPRECATED - Inline dialog constructor has been deprecated and will be removed in a future release. Use inline dialog 2 instead.  
       d<.initialize@https://d2p4ir3ro0j0cb.cloudfront.net/<instance>.atlassian.net/wiki/s/b96ccf4b86c4df96e80ad9ce67bcedfc-CDN/en_GB/6436/5154d041630dcebfb8dedd49686d2af97e042a52/a2ba24d1c7723f6506ccb6e3e8e4d4cf/_/download/contextbatch/js/file-viewer,-_super,-viewcontent,-main,-atl.general/batch.js?analytics-enabled=true&atlassian.aui.raphael.disabled=true&confluence.view.edit.transition=true&highlightactions=true&hostenabled=true&jquery.external=true&locale=en-GB:18551:518 batch.js:174:328
      Downloading resources:
      js!//d2p4ir3ro0j0cb.cloudfront.net/<instance>.atlassian.net/wiki/s/6c0981174e94142364564819dc0d1413-CDN/en_GB/6436/5154d041630dcebfb8dedd49686d2af97e042a52/2.1.5/_/download/batch/com.atlassian.confluence.plugins.confluence-previews:confluence-previews-pdf/com.atlassian.confluence.plugins.confluence-previews:confluence-previews-pdf.js?locale=en-GB!order batch.js:174:328
      Error: Failed to load script (nsresult = 0x805303f4) <unknown>
      no element found 
      

      Notes

      The preview feature functions properly on latest versions of Chrome, IE, and Safari, and older versions of Firefox. The preview feature also functions properly when previewing images.

      Workaround

      Click on the Tools(...) menu at the top right of the page, and then click Attachments. From here, you can click View to the right of the attachment to preview it with this feature.

      Attachments

        Issue Links

          Activity

            People

              iloire Ivan Loire (Inactive)
              mgarcia@atlassian.com Marco Garcia (Inactive)
              Votes:
              5 Vote for this issue
              Watchers:
              19 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: