Details
-
Bug
-
Resolution: Fixed
-
Blocker
-
14.10.16
-
Windows 11 Pro, Edge 116, Chrome 116, Firefox 117, using a local instance of XWiki 14.10.16 on Oracle 19c, Tomcat 9.0.80
-
Integration
-
Unknown
-
N/A
-
N/A
-
Description
Steps to reproduce
- Create a large page with a lot of content, including tables (tested with an Office Imported Word document, for easy reproduction please use the attached XAR)
- Login as Admin
- Go to Administer Wiki > Content > PDF Export and from Generator select "User Browser"
- Go to the created page, click More Actions > Export > PDF > Export > Export (keeping the default Export Options)
- Go to Administer Wiki > Content > PDF Export and from Generator select "Chrome Docker Container"
- Go back to the created page, click More Actions > Export > PDF > Export > Export
- Go to Administer Wiki > Content > PDF Export and from Generator select "Remote Chrome" (first start it on the machine if the case)
- Go to the created page, click More Actions > Export > PDF > Export > Export
Expected results
The page is exported to PDF.
Actual results
When using User Browser (Edge 116, Chrome 116 and Firefox 117), Docker Container and Remote Chrome, after a long waiting, the error message:
Failed to export as PDF: Timeout waiting for web page to be ready for print.
is displayed.
Tested also by increasing Page Ready Timeout to 500, but, nevertheless, the PDF file is not exported.
The issue could not be reproduced on XWiki 14.10.15, where the PDF is exported without having to increase Page Ready Timeout (except when using User Browser on Firefox, where I got the same timeout error message and increased the Timeout to 500, but the PDF was generated earlier than the timeout limit).
The issue couldn't also be reproduced on XWiki 15.5.2, except for when using User Browser on Firefox 117, where although the Timeout was set to 500, the PDF seems to not be generated in the end (same Timeout error message).
It is to be mentioned that the page is exported to PDF using old PDF (FOP) export (also within a shorter time).
Attachments
Issue Links
- is related to
-
XWIKI-21043 The last lines of text from a print page are not always visible when they are inside a table cell that is split between print pages
- Closed
- links to