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

Calls to joomla_civicrm_tokenValues are different depending on the calling process/

    Details

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

      Description

      The custom tokens passed to joomla_civicrm_tokenValues are formatted differently depending on whether CiviMail calls them or Contacts => New Email. In the former they have this format.

      $tokens[<group name>][<token name>] = 1

      in the latter

      $tokens[<group name>][<numeric index>] = <token name>

      This has the potential to confuse joomla_civicrm_tokenValues!

      It is fairly trivial to fix in joomla_civicrm_tokenValues, but I thought I should draw it to your attention.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              spalmstr Stephen Palmstrom
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: