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

CiviMail fails hard when an errant { is in the body

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 4.5.8
    • Fix Version/s: Unscheduled
    • Component/s: None
    • Labels:
      None
    • Versioning Impact:
      Patch (backwards-compatible bug fixes)
    • Documentation Required?:
      None
    • Funding Source:
      Needs Funding

      Description

      We just hit an error like

      PHP Fatal error: Call to a member function getHTMLBody() on a non-object in /home/***/drupal/sites/all/modules/civicrm/CRM/Mailing/Page/View.php on line 154

      when doing preview mailing.

      On investigation it turned out there was an errant '{' in the message body which caused the message to fail. I think we should fail a lot more gracefully in this circumstance. White screens look bad

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              eileen Eileen McNaughton
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: