-
Bug
-
Resolution: Unresolved
-
Medium
-
None
-
7
-
Severity 3 - Minor
-
Issue Summary
When a Confluence page contains extensive code snippets, exporting to PDF fails. A generic error message is displayed: "Unable to export PDF".
Steps to Reproduce
- Create a Confluence page with a code snippet exceeding 8,000 lines (this can be a single snippet or multiple snippets totaling more than 8,000 lines).
- Attempt to export the page to PDF.
Expected Results
The page should be successfully exported to PDF, including all content and code snippets expanded.
Actual Results
The export process fails after approximately one and a half minutes, displaying the message: "Unable to export PDF".
Additional Notes:
- The issue occurs more frequently when code snippets are placed within an expand macro and a table.
- In these cases, even pages with code snippets totaling 2,000 lines can cause export failure.
Workaround
- Break the content into smaller sections and distribute them across multiple pages.
- Avoid placing large code snippets within tables when possible, as this can reduce the likelihood of export failure.