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

Upgrade to 4.6.17 breaks PDF generation

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Critical
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.6.17
    • Fix Version/s: 4.6.18
    • Component/s: Core CiviCRM
    • Labels:
      None
    • Documentation Required?:
      None
    • Funding Source:
      Core Team Funds

      Description

      It looks like PR-8419, which is supposed to mitigate CIVI-SA-2016-09 (CRM-16898), breaks the PDF generation. Apparently the current 4.6.17 release is missing the file

      vendor/dompdf/dompdf/lib/html5lib/TreeBuilder.php

      This leads to the following fatal PHP error when trying to generate a PDF letter:

      [06-Jun-2016 09:58:03 Europe/Berlin] PHP Fatal error:  require_once(): Failed opening required '/mamp_root/smb/sites/all/modules/civicrm/vendor/dompdf/dompdf/lib/html5lib/TreeBuilder.php' (include_path='/mamp_root/smb/sites/all/modules/civicrm:/mamp_root/smb/sites/all/modules/civicrm/packages:.:/mamp_root/smb/sites/all/modules/civicrm:/mamp_root/smb/sites/all/modules/civicrm/packages:/mamp_root/smb/sites/all/modules/civicrm/vendor/tecnickcom:/mamp_root/smb/sites/all/modules/civicrm/vendor/phpseclib/phpseclib/phpseclib:.:/Applications/MAMP/bin/php/php5.4.10/lib/php') in /mamp_root/smb/sites/all/modules/civicrm/vendor/dompdf/dompdf/lib/html5lib/Parser.php on line 5
      

        Attachments

          Activity

            People

            • Assignee:
              eileen Eileen McNaughton
              Reporter:
              b.systopia Björn Endres
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: