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

Edit in Office downloads xlsx and docx files in Chrome

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Low
    • None
    • 7.10.2, 7.11.0
    • None

    Description

      Issue Summary

      Edit Document button downloads xlsx and docx files from the View File macro instead of opening the file in Chrome.

      Steps to Reproduce

      1. Install Confluence 7.10.2 or 7.11.0 or greater
      2. Enable Edit in Office functionality ( > General Configuration > Office Connector > "Enable Edit in Office for all users")
      3. Add a View File macro for a Word or Excel document to a page
      4. Select Edit Document

      Expected Results

      The user is prompted to open the file in the corresponding Office application.

      Actual Results

      The attachment is downloaded.

      Workaround 1

      Disable Edit in Office ( > General Configuration > Office Connector > uncheck "Enable Edit in Office for all users") and use Companion Apps to edit files.

      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.11.0:

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

      If using Docker a volume like such will suffice:

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


      Notes

      • Functionality works fine in Firefox
      • The Edit in Office button works from the attachments page
      • Confluence versions prior to 7.9 are not impacted

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              caronson Cole Aronson
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: