-
Bug
-
Resolution: Fixed
-
High
-
3
-
Severity 3 - Minor
-
1
-
-
Warranty
Issue Summary
When a page contains multiple PDF macros, the preview does not work when refreshing the page. If we click on another page in the content tree and then go back to the affected page, the PDF loads.
We could observe two situations when the preview fails:
1. Using two sequences of Expand macro > PDF macro (nested macros);
2. Using a sequence of File attached > PDF macro.
If we move the PDFs out of the expand macros, they are presented when we refresh the page.
If the page only contains one expand with one PDF, the issue does not occur.
Steps to Reproduce
Testing on a test environment, could reproduce with a sample page following these steps:
- Add a expand macro (1)
- Add PDF macro (1)
- Add another expand macro (2)
- Add PDF macro (2)
- Publish the page - observe that you are able to see the content
- Refresh the page
Expected Results
- We should be able to see the PDF preview;
- Using the Javascript console, we can observe a successful message:
VM253 com.atlassian.confluence.extra.officeconnector:mediaviewer-chunks.js:673 PDF successfully loaded
Actual Results
- it spins without load;
- Javascript console shows the error:
VM814 com.atlassian.confluence.extra.officeconnector:mediaviewer-chunks.js:1 Error running batched script. VM814 com.atlassian.confluence.extra.officeconnector:mediaviewer-chunks.js:1 ReferenceError: webpackJsonpMediaViewer is not defined
Workaround
- click on any page from the tree;
- Then click on the page again - observe that now it loads fine.
- is related to
-
CONFCLOUD-76125 PDF document don't load in preview on Confluence.
-
- Closed
-
- mentioned in
-
Page Loading...
- relates to
-
CCECO-4177 Loading...