-
Type:
Bug
-
Resolution: Cannot Reproduce
-
Priority:
Medium
-
Component/s: Integrations - Office Macros
-
6
-
Minor
Issue Summary
Word previews break when using the Office Macros after migration from server. After migrating with CCMA - pages using the worddoc Office macro appear blank. Users have to reload page or view another page with the viewfile macro that is loading properly, then go back to the broken page for it to load.
Steps to Reproduce
- Create a page in server with Word Office Macro
- Migrate with CCMA
- Load the same page
Expected Results
Attachment preview should load automatically.
Actual Results
Confluence does not load the attachment preview automatically. When compared to a bad page load, we can see that a good page load has a call to the Media API to load the preview:
This is a good load:
- GET on this URL returns a 206 code:
https://api.media.atlassian.com/file/asdf-123-41e6-b9f9-2f34a7f110d6/artifact/document.pdf/binary?token=<APITOKEN>&client=<CLIENTID>9&name=ATTACHMENTTITLE.docx
When we load the page and it's broken it does not make this call automatically. Users have to refresh to load the previews.
Workaround
- Reload the page - but this doesn't fix it for other users
- Switch to using the viewfile macros instead of using the Office Macros before migrating: