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

Domain token replacement in Message Templates uses HTML tokens for text parts

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Major
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.4.5
    • Fix Version/s: 4.5
    • Component/s: Core CiviCRM
    • Labels:
      None
    • Sprint:
      Sprint 1

      Description

      Discovered this one while modifying receipt templates to meet tax invoice requirements:
      The text version of the receipt was replaces

      {domain.address}

      with a pseudo-microdata vcard div.

      Eventually tracked this down to CRM_Core_BAO_MessageTemplate calling replaceDomainTokens with $html as TRUE.

      Patch to fix attached.

        Attachments

          Activity

            People

            • Assignee:
              sgladstone Sarah Gladstone
              Reporter:
              agileware Agileware
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: