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

Can't load template when creating PDF letter

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Major
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.5
    • Fix Version/s: 4.5.1
    • Component/s: Core CiviCRM
    • Labels:
    • Documentation Required?:
      None

      Description

      On the page for creating a printable (PDF) letter, if you select a template in the dropdown, the template fails to load and contents of the editor remain unchanged. This means that you cannot use a template when composing a letter.

      A JavaScript error occurs at the same time. In Chrome it is reported as "Uncaught TypeError: Cannot set property 'checked' of undefined" and in Firefox it is reported as "TypeError: document.getElementsByName(...)[0] is undefined".

      Although the page for creating a new Mailing is similar, this bug does not affect template selection when creating a new Mailing.

      This error can be reproduced on the 4.5 Drupal sandbox (drupal.sandbox.civicrm.org) and the 4.5 WordPress sandbox (wordpress.sandbox.civicrm.org).

        Attachments

          Activity

            People

            • Assignee:
              rohan1990 Rohan Ramesh Katkar
              Reporter:
              kirk Kirk Jackson
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: