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

Notice pdfformat when creating pdf letters

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Trivial
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.6.3
    • Fix Version/s: 4.6.5
    • Component/s: None
    • Labels:
      None
    • Documentation Required?:
      None
    • Funding Source:
      Contributed Code

      Description

      Steps to reproduce.

      Create pdf format, and select format to be default format.
      Go to search contacts, select some, and select action 'create pdf letters'.
      On the next screen the following notice appears.
      Notice: Undefined index: metric in CRM_Core_BAO_PdfFormat::retrieve() (line 309 of /sites/all/modules/civicrm/CRM/Core/BAO/PdfFormat.php).

      The selected pdf format, is also not the one we just created as default, we have to manually set this to be the right format.

        Attachments

          Activity

            People

            • Assignee:
              dgg David Greenberg
              Reporter:
              mallezie Tim Mallezie
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: