Details
-
Bug
-
Resolution: Cannot Reproduce
-
Low
-
None
-
1
-
Severity 3 - Minor
-
Description
Issue Summary
When clicking the view or edit file buttons from the attachments macro, the file previewer will fail to load completely. This issue happens on Google Chrome.
Steps to Reproduce
- Add an attachment to the page
- Add an attachments macro to the page
- View the page and click "View" or "Edit file" for the attachment in the attachment macro
Expected Results
Legacy file previewer opens fully
Actual Results
File previewer opens partially and multiple errors appear in the browser console.
com.atlassian.confluence.extra.officeconnector:file-viewer-plugin.js?externals=__local-default__&locale=en-US:20 Uncaught (in promise) Error: Office connector expects the "name" property to be passed by the file viewer at MediaViewer.<anonymous> (com.atlassian.confluence.extra.officeconnector:file-viewer-plugin.js?externals=__local-default__&locale=en-US:20) at x (batch.js?externals=__local-default__&locale=en-US:1145) at MediaViewer.trigger (batch.js?externals=__local-default__&locale=en-US:1143) at MediaViewer.<anonymous> (com.atlassian.confluence.extra.officeconnector:mediaviewer-core.js?externals=__local-default__:823) at f (jquery.js:1086) at Object.fireWith (jquery.js:1204) at Object.fire [as resolve] (jquery.js:1211) at Object.<anonymous> (com.atlassian.confluence.extra.officeconnector:mediaviewer-core.js?externals=__local-default__:1372) at f (jquery.js:1086) at Object.fireWith (jquery.js:1204)
com.atlassian.confluence.extra.officeconnector:mediaviewer-core.js?externals=__local-default__:103 Uncaught TypeError: Cannot read property 'call' of undefined at __webpack_require__ (com.atlassian.confluence.extra.officeconnector:mediaviewer-core.js?externals=__local-default__:103) at com.atlassian.confluence.extra.officeconnector:mediaviewer-core.js?externals=__local-default__:4509 at webpackJsonpCallback (com.atlassian.confluence.extra.officeconnector:mediaviewer-core.js?externals=__local-default__:55) at mediaviewer-1.js:1
Workaround
Currently there is no known workaround for this behavior. A workaround will be added here when available
Attachments
Issue Links
- relates to
-
CONFCLOUD-67302 Tapping View/Edit on Attachments downloads the file
- Closed
-
CONFCLOUD-67604 Attachments macro: view and edit options don't work on Firefox and Safari
- Closed