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

Confluence View File macro failed to load with legacy Edit in Office enabled.

    XMLWordPrintable

Details

    Description

      Issue Summary

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

      Steps to Reproduce

      1. Install or upgrade Confluence to version 7.9.x
      2. Follow the steps to Enable Edit in Office as a dark feature.

      Expected Results

      View File Macro load Office files correctly.

      Actual Results

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

      Workaround 1

      1. Remove enable.legacy.edit.in.office from Confluence dark feature:
        • <confluence-url>/admin/darkfeatures.action
      2. Use Companion Apps to edit files.

      Workaround 2

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

      Workaround 3

      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.9.3 so far:

      1. Stop Confluence
      2. Copy/Download the OfficeConnector-11.4.0.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

      If using Docker a volume like such will suffice:

      /docker/confluence/OfficeConnector-11.2.1.jar:/opt/atlassian/confluence/confluence/WEB-INF/atlassian-bundled-plugins/OfficeConnector-11.3.2.jar


      Notes

      View File Macro loads PDF files correctly.

      Attachments

        1. OfficeConnector-11.4.0.jar
          14.57 MB
          James Whitehead
        2. vfloading.png
          33 kB
          Dayana

        Issue Links

          Activity

            People

              jwhitehead@atlassian.com James Whitehead
              dazmi Dayana
              Votes:
              12 Vote for this issue
              Watchers:
              32 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: