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

Confluence View File macro fails to load for when attachments are on different page

      Issue Summary

      View File macro for Office files (tested with .doc and .xlsx) loading indefinitely when attachment is on different page

      Steps to Reproduce

      1. Install or upgrade Confluence to version 7.10.x
      2. Create a page and attach .doc and .xlsx to that page
      3. Create a different page with View File macro and attempt to display the Office attachments from that first page with the view file macro.
      4. Load that page

      Expected Results

      View File Macro load Office files correctly.

      Actual Results

      View File macro for Office files (tested with .doc) loading indefinitely.

      Workaround 1

      • Attach the file directly into the page using the Confluence file previewer to generate the thumbnail.

      Workaround 2

      This requires downgrading the Office Connector plugin which may not be compatible with newer versions of Confluence and is not supported. However, this has been tested and it works with up to Confluence 7.10.X so far:

      1. Stop Confluence
      2. Copy/Download the OfficeConnector-11.2.1.jar from an older version of Confluence (i.e. 7.8.0)
      3. Place it in the confluence_install/confluence/WEB-INF/atlassian-bundled-plugins/ folder.
      4. From the same folder, move the OfficeConnector-11.3.2.jar to another folder as backup.
      5. Start Confluence

      Notes

      Tested with OfficeConnector 11.4.0 from CONFSERVER-60622 but this results in same issues.

        1. diff_page.png
          diff_page.png
          47 kB
        2. oc11.2.1.png
          oc11.2.1.png
          115 kB
        3. oc11.3.2.png
          oc11.3.2.png
          118 kB
        4. oc11.4.0.png
          oc11.4.0.png
          116 kB
        5. OfficeConnector-11.2.1.jar
          14.52 MB

          Form Name

            [CONFSERVER-60876] Confluence View File macro fails to load for when attachments are on different page

            A fix for this issue is available to Server and Data Center customers in Confluence 7.12.0
            Upgrade now or check out the Release Notes to see what other issues are resolved.

            Franco Skrzypczak added a comment - A fix for this issue is available to Server and Data Center customers in Confluence 7.12.0 Upgrade now or check out the Release Notes to see what other issues are resolved.

            Tam Tran added a comment -

            Hi admin1521109556,
            Thank you for reporting this issue. I can confirm that there is a problem when rendering an Office document in a blog post in Confluence 7.11.0. However, this is quite a different issue. I've filed a new ticket for this issue here: https://jira.atlassian.com/browse/CONFSERVER-61076 
            Please follow up in the new ticket.

            Tam Tran added a comment - Hi admin1521109556 , Thank you for reporting this issue. I can confirm that there is a problem when rendering an Office document in a blog post in Confluence 7.11.0. However, this is quite a different issue. I've filed a new ticket for this issue here:  https://jira.atlassian.com/browse/CONFSERVER-61076   Please follow up in the new ticket.

            Assuming this fix is encapsulated solely in OfficeConnector-11.4.2.jar (which I am testing along with Confluence 7.11.0), it does not appear that the fix works as expected when the referenced Office doc is attached to a blog post. I get this message: "We can't preview this file. You'll have to download the file to view it."

            Scott Dudley [Cenote] added a comment - Assuming this fix is encapsulated solely in OfficeConnector-11.4.2.jar (which I am testing along with Confluence 7.11.0), it does not appear that the fix works as expected when the referenced Office doc is attached to a blog post. I get this message: "We can't preview this file. You'll have to download the file to view it."

            Thanks for workaround. Unfortunately Option 1 is impossible as we have hundreds of pages using this method.

            Option 2 is problematic as we use confluence in docker.

            We will wait for fix

            Paweł Kaczanowski added a comment - Thanks for workaround. Unfortunately Option 1 is impossible as we have hundreds of pages using this method. Option 2 is problematic as we use confluence in docker. We will wait for fix

            Quick info:
            It also appears on 7.9.3

            https://jira.atlassian.com/browse/CONFSERVER-60862

            This ticket seems related

            DevOps Technical User added a comment - Quick info: It also appears on 7.9.3 https://jira.atlassian.com/browse/CONFSERVER-60862 This ticket seems related

              ttranminh Tam Tran
              mduong@atlassian.com MichaelD
              Affected customers:
              3 This affects my team
              Watchers:
              12 Start watching this issue

                Created:
                Updated:
                Resolved: