Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-20459

PDF Export dosen't work when setting "MAXIMUM CONTENT SIZE" to 0

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • 15.0-rc-1, 14.10.3
    • 14.10
    • Export - PDF
    • None
    • Windows 11, XWiki 14.10 with MySQL 8.0 and Chrome 107
    • Unknown
    • N/A
    • N/A

    Description

      Steps to reproduce:

      1. Access Administer Wiki > Content > PDF Export
      2. Set the MAXIMUM CONTENT SIZE (The maximum content size, in kilobytes (KB), that can be included in a single PDF export. Use 0 to disable the limit.) to 0 to disable it

      Expected results: The maximum content size is disabled and the user can export large documents.

      Actual results:  None of the exports work anymore.

      The following message appears when exporting as PDF even a simple page "Failed to export as PDF: RuntimeException: Maximum content size limit exceeded."

       

      Attachments

        1. FailedToExport.jpg
          119 kB
          Gabriela Anechitoaei
        2. image-2023-01-04-12-47-25-547.png
          17 kB
          Alex Cotiugă

        Activity

          People

            acotiuga Alex Cotiugă
            ganechitoaei Gabriela Anechitoaei
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: