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

Confluence View File macro fails to load for anonymous users


      Issue Summary

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

      Steps to Reproduce

      1. Install or upgrade Confluence to version 7.10.x
      2. Enable anonymous access.
      3. Create a page with View File macro
      4. Load that page as an anonymous user

      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


      Tested with OfficeConnector 11.4.0 from CONFSERVER-60622 but this results in "We can't preview this file. You'll have to download the file to view it."

        1. oc11.2.1.png
          129 kB
        2. oc11.3.2.png
          143 kB
        3. oc11.4.0.png
          155 kB
        4. OfficeConnector-11.2.1.jar
          14.52 MB

            ttranminh Tam Tran
            mduong@atlassian.com MichaelD
            1 Vote for this issue
            5 Start watching this issue