Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-19183

Filename error on PDF download (DOMPDF).

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.7.10
    • Fix Version/s: 4.7.11
    • Component/s: None
    • Labels:
    • Documentation Required?:
      None
    • Funding Source:
      Core Team Funds

      Description

      Replicated on dmaster:

      1) Find Contact -> Search
      2) Perform "Print/Merge Document" task after selecting some contacts.
      3) Click on "Download Document" button using any of the templates.
      4) Downloaded file has a name "CiviLetter.pdf.pdf".

      Similarly for all pdf related task. Eg Print Contribution Receipts, Printing Thankyou letters, membership, events, CiviReports etc.

      As per https://github.com/dompdf/dompdf/commit/18a4e07ba0b449d646bd327fe9c54a909b6d9001#diff-aa1192b92db6c521e1b85c0b659dfe38R3508 filename extension is being enforced now, so we should just pass filename(without ext.) to dompdf.

        Attachments

          Activity

            People

            • Assignee:
              monish.deb Monish Deb
              Reporter:
              jitendra.purohit Jitendra Purohit
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: