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

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

    XMLWordPrintable

Details

    Description

      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.

      Attachments

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

        Issue Links

          Activity

            People

              ttranminh Tam Tran
              mduong@atlassian.com MichaelD (Inactive)
              Votes:
              3 Vote for this issue
              Watchers:
              12 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: