-
Bug
-
Resolution: Fixed
-
Medium
-
7.10.2, 7.11.0, 7.11.2
-
9
-
Severity 2 - Major
-
98
-
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
- Install Confluence 7.10.2 or 7.11.0
- Head over to General Configuration > Office Connector and ensure that Enable Edit in Office for all users option is enabled.
- Head over to a Confluence Page and upload a word or an excel attachment.
- Add the above attachment inside the a word or and excel macro
- 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:
- Stop Confluence
- Copy/Download the OfficeConnector-11.2.2.jar
from an older version of Confluence
- Place it in the confluence_install/confluence/WEB-INF/atlassian-bundled-plugins/ folder.
- From the same folder, move the OfficeConnector-x.x.x.jar to another folder as backup.
- 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
- Presumably this broke with the fix from
CONFSERVER-60622
- Presumably this broke with the fix from
- is duplicated by
-
CONFSERVER-62839 Edit in Office downloads xlsx and docx files in Chrome
-
- Closed
-
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.