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

Edit Document button in Excel and Word macro does not trigger Edit in Office

      Issue Summary

      Since (at least) 7.10.2 The Edit Document button in the Excel and Word Office connector macro downloads the attachment rather than opening the attachment in either Word or Excel

      Steps to Reproduce

      1. Install Confluence 7.10.2 or 7.11.0
      2. Head over to General Configuration > Office Connector and ensure that Enable Edit in Office for all users option is enabled.
      3. Head over to a Confluence Page and upload a word or an excel attachment.
      4. Add the above attachment inside the a word or and excel macro
      5. Save the page

      Expected Results

      The Edit Document on top of the office macro is clickable and will open the attachment in Word or Excel.

      Actual Results

      The Edit Document on top of the office macro is clickable and downloads the application.

      Workaround 1

      Editing documents via the Attachments page 

      • Head over to the affected page > click (...) on the top right side of the page > Attachments

      Workaround 2

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

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

       

            [CONFSERVER-62343] Edit Document button in Excel and Word macro does not trigger Edit in Office

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

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

            We got the problem when upgrade up to 7.11.2. Please, fix it!

            Vadim Martynyuk, consultant, Rostelecom Nord-West Branch added a comment - We got the problem when upgrade up to 7.11.2. Please, fix it!

            Frederik added a comment -

            OfficeConnector-11.2.2.jar from Confluence 7.8.3 works for us as workaround.

            Frederik added a comment - OfficeConnector-11.2.2.jar from Confluence 7.8.3 works for us as workaround.

            This was broken for us in Chrome (89.0) but did work in Firefox (85.0.2). These were the only browsers tested because they are the only browsers we are authorized to use. 

            Robert Egan added a comment - This was broken for us in Chrome (89.0) but did work in Firefox (85.0.2). These were the only browsers tested because they are the only browsers we are authorized to use. 

            This is exactly the issue, we are experiencing as well.

            Florian Schmied added a comment - This is exactly the issue, we are experiencing as well.

              aknight@atlassian.com Alex K
              afaridi Ahmad Faridi
              Affected customers:
              19 This affects my team
              Watchers:
              27 Start watching this issue

                Created:
                Updated:
                Resolved: