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

CiviEvent Tokens change depending on if Scheduled Reminder or manual Email Participant

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 4.4.4
    • Fix Version/s: Unscheduled
    • Component/s: CiviEvent
    • Labels:
    • Versioning Impact:
      Patch (backwards-compatible bug fixes)

      Description

      When you create a Scheduled Reminder for an event you get the following tokens (yay!):

      {activity.activity_date_time}{activity.details}{activity.activity_id}{activity.subject}{contact.addressee}{contact.address_name}{contact.birth_date}{contact.checksum}{contact.city}{contact.hash}{contact.contact_is_deleted}{contact.contact_type}{contact.country}{contact.custom_1}{contact.county}{contact.current_employer}{contact.current_employer_id}{contact.display_name}{contact.do_not_email}{contact.do_not_mail}{contact.do_not_phone}{contact.do_not_sms}{contact.do_not_trade}{contact.email}{contact.email_greeting}{event.contact_email}{event.contact_phone}{event.description}{event.end_date}{event.fee_amount}{event.event_id}{event.info_url}{event.location}{event.start_date}{event.registration_url}{event.summary}{event.title}{event.event_type}{contact.external_identifier}{contact.first_name}{contact.gender}{contact.geo_code_1}{contact.geo_code_2}{contact.image_URL}{contact.im_provider}{contact.im}{contact.individual_prefix}{contact.individual_suffix}{contact.contact_id}{contact.job_title}{contact.last_name}{contact.location_type}{contact.master_id}{membership.end_date}{membership.fee}{membership.id}{membership.join_date}{membership.start_date}{membership.status}{membership.type}{contact.middle_name}{contact.nick_name}{contact.is_opt_out}{contact.on_hold}{contact.openid}{contact.phone}{contact.phone_ext}{contact.postal_code}{contact.postal_code_suffix}{contact.postal_greeting}{contact.preferred_communication_method}{contact.preferred_language}{contact.preferred_mail_format}{contact.signature_html}{contact.signature_text}{contact.sort_name}{contact.contact_source}{contact.state_province}{contact.street_address}{contact.street_name}{contact.street_number}{contact.street_number_suffix}{contact.street_unit}{contact.supplemental_address_1}{contact.supplemental_address_2}{contact.url}{contact.world_region}

      But when you select a participant from an event and send them an email you only get the following tokens:
      {contact.addressee}{contact.address_name}{contact.birth_date}{contact.checksum}{contact.city}{contact.hash}{contact.contact_is_deleted}{contact.contact_type}{contact.country}{contact.custom_1}{contact.county}{contact.current_employer}{contact.current_employer_id}{contact.display_name}{contact.do_not_email}{contact.do_not_mail}{contact.do_not_phone}{contact.do_not_sms}{contact.do_not_trade}{contact.email}{contact.email_greeting}{contact.external_identifier}{contact.first_name}{contact.gender}{contact.geo_code_1}{contact.geo_code_2}{contact.image_URL}{contact.im_provider}{contact.im}{contact.individual_prefix}{contact.individual_suffix}{contact.contact_id}{contact.job_title}{contact.last_name}{contact.location_type}{contact.master_id}{contact.middle_name}{contact.nick_name}{contact.is_opt_out}{contact.on_hold}{contact.openid}{contact.phone}{contact.phone_ext}{contact.postal_code}{contact.postal_code_suffix}{contact.postal_greeting}{contact.preferred_communication_method}{contact.preferred_language}{contact.preferred_mail_format}{contact.signature_html}{contact.signature_text}{contact.sort_name}{contact.contact_source}{contact.state_province}{contact.street_address}{contact.street_name}{contact.street_number}{contact.street_number_suffix}{contact.street_unit}{contact.supplemental_address_1}{contact.supplemental_address_2}{contact.url}{contact.world_region}

      Critically for me the Event context is missing.
      Also, this makes testing my scheduled reminder templates difficult - and if somebody needs an email for an event re-sent the mail may not be valid.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              ddevine Daniel Devine
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: