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

The PDF export file name is different when using the Docker container vs. the user browser

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 15.2-rc-1, 14.10.7
    • 14.10.6
    • Export - PDF
    • None
    • Unknown
    • N/A
    • N/A

    Description

      Follow these steps to reproduce:

      • configure the PDF export to use the user's browser
      • export Sandbox home page and save the PDF; the suggested file name is "Sandbox - XWiki.pdf"
      • configure the PDF export to use the Docker container
      • export again the Sandbox home page and save the PDF; the suggested file name is now "Sandbox.pdf"

      The suggested file name should be the same no matter how the PDF was generated. Moreover, the file name suggested when using the user's browser doesn't respect the "fileName" PDF export job request parameter:

      #set ($discard = $pdfExportJobRequest.setFileName('myCool.pdf'))
      

      Attachments

        Activity

          People

            mflorea Marius Dumitru Florea
            mflorea Marius Dumitru Florea
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: