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

New Event Registration (back-office) : Custom field data missing on participant receipts when custom group is assigned "by event name"

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Fixed/Completed
    • Affects Version/s: 2.2.0, 2.2.1, 2.2.2
    • Fix Version/s: 2.2.3
    • Component/s: CiviEvent
    • Labels:
      None

      Description

      New event registration (back-office) - If you have a custom data group where Used For = Participants (by Event Name) - and you register someone for that event and send a receipt - the custom group values are NOT populated in the $customGroup array passed to ReceiptMessage.tpl (and hence the values are not shown on the receipt email).

      It looks like the problem is in the CRM_Core_BAO_UFGroup::getValues call on line 1138 in CRM_Event_Form_Participant.php

      If you create a custom data group with Used For = Participants - and then register via backoffice - the $customGroup array is properly populated and the data shows up in the receipt.

        Attachments

          Activity

            People

            • Assignee:
              kiran.jagtap Kiran Jagtap
              Reporter:
              dgg David Greenberg
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 2 hours
                2h
                Remaining:
                Remaining Estimate - 2 hours
                2h
                Logged:
                Time Spent - Not Specified
                Not Specified