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

Smarty error when trying to use default message template for sending mail through schedule reminder

    Details

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

      Description

      If a schedule reminder is configured with default message template 'Sample Responsive Design Newsletter - Single Column Template' or 'Sample Responsive Design Newsletter - Two Column Template', then while trying to execute the schedule job for Send Reminder throws a smarty error message with 'Syntax error: unrecognized tag'.

      The message templates seems to have style script in it and smarty fails to replace smarty variables at smarty compile time, like for example .class-name

      { padding:0;}

      To replicate:
      1. Create a Schedule reminder for any Entity Type
      2. Select 'Sample Responsive Design Newsletter - Single Column Template' or 'Sample Responsive Design Newsletter - Two Column Template' message template.
      3. Execute the Schedule Reminder Job.

      Below links provides more info about the error.
      http://snag.gy/oerTq.jpg
      http://snag.gy/CiNL7.jpg

      Note: Same error can be replicated in-case of Schedule mailings but not in-case of Send email to contact or any transactional mails.

        Attachments

          Activity

            People

            • Assignee:
              dgg David Greenberg
              Reporter:
              atif.shaikh Atif Shaikh
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: