CRM-3388 Participant Role selection via Profile in Event Registration is ignored

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Fixed/Completed
    • Affects Version/s: 2.1
    • Fix Version/s: 2.1
    • Component/s: CiviEvent
    • Labels:
      None

      Description

      When a Profile with the Participant Role field is included in online Event Registration - and a value is submitted - that value should over-ride the default role for that event. Currently we ignore the profile field value and use default role.

      To recreate:
      Either check out this user-configured event on the sandbox (if it's still there):

      OR
      1. Create profile and add Participant Role field
      2. Link that profile to an event's Registration form
      3. Register for event and select a role other than the default role

        Attachments

          Activity

          [CRM-3388] Participant Role selection via Profile in Event Registration is ignored
          Sunil Pawar added a comment -

          fixed

          Sarah Gladstone added a comment -

          I tried this issue out at sandbox.civicrm.org. When I choose a role ( such as "Host" ) other than the default it is recorded correctly in the participant record. But the screen at url "http://sandbox.civicrm.org/civicrm/event/register?_qf_ThankYou_display=true&qfKey=27b174890781601ac3b785d610105ee5" shows the wrong role in the "Participant Role" block of the screen. The section of the screen for the profile values is correct.

          A side note: In this use case, the participant role shows up twice in this screen. Can this be addressed?

          David Greenberg added a comment -

          Sunil - Please check the reported bug - "Participant Role block shows incorrect role..."

          For both single and multi-participant registration - that block should display the selected value for the "primary" (or single) participant.
          --------------
          Sarah: There is no easy general fix for the role displaying twice. You can create a custom version of Thankyou.tpl and remove the main Participant Role block section (at least for any events where you will be soliciting Role selection via Profile block).

          Kurund Jalmi added a comment -

          assigning for verification

            People

            • Assignee:
              Michał Mach
              Reporter:
              David Greenberg

              Dates

              • Created:
                Updated:
                Resolved: