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

      Notes

      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
          oc11.2.1.png
          129 kB
        2. oc11.3.2.png
          oc11.3.2.png
          143 kB
        3. oc11.4.0.png
          oc11.4.0.png
          155 kB
        4. OfficeConnector-11.2.1.jar
          14.52 MB

          Form Name

            [CONFSERVER-60857] Confluence View File macro fails to load for anonymous users

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

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

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

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

            Jeffrey Thornsen added a comment - - edited

            FYI - based on related bug report CONFSERVER-60622 I believe this also affects Confluence version 7.9.x.

            The OfficeConnector JAR from Confluence 7.8.x works correctly for Anonymous users.

            Edit: OfficeConnector-11.2.1.jar and older work for me.  This corresponds with Confluence version 7.8.1

            OfficeConnector-11.2.2.jar and later do not work for me.  This corresponds with Confluence version 7.8.3

            Jeffrey Thornsen added a comment - - edited FYI - based on related bug report CONFSERVER-60622 I believe this also affects Confluence version 7.9.x. The OfficeConnector JAR from Confluence 7.8.x works correctly for Anonymous users. Edit: OfficeConnector-11.2.1.jar and older work for me.  This corresponds with Confluence version 7.8.1 OfficeConnector-11.2.2.jar and later do not work for me.  This corresponds with Confluence version 7.8.3

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

                Created:
                Updated:
                Resolved: