CRM-15033 Custom fields for Participant for Event Type not appearing when Participant is registered for an event

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Major
    • Resolution: Cannot Reproduce
    • Affects Version/s: 4.5
    • Fix Version/s: 4.5
    • Component/s: CiviEvent
    • Labels:
    • Documentation Required?:
      None

      Description

      A custom form (ie set of custom fields) for Participants for Event Type (eg Course) created in 4.4.6 and then upgraded to 4.5 beta 3 fails to appear when registering a Participant for an Event of type relevant type.
      In 4.4.6 when registering a participant for an event of the relevant type the custom form would appear when the event (of the relevant type) had been selected.

        Attachments

        1. Screen Shot 2014-07-25 at 11.55.54 AM.PNG
          105 kB
          David Greenberg
        2. Screen Shot 2014-07-25 at 11.56.34 AM.PNG
          99 kB
          David Greenberg
        3. Screen Shot 2014-07-25 at 11.56.51 AM.PNG
          103 kB
          David Greenberg
        4. Screen Shot 2014-07-25 at 11.57.25 AM.PNG
          80 kB
          David Greenberg
        5. Screen Shot 2014-07-25 at 11.57.36 AM.PNG
          42 kB
          David Greenberg

          Activity

          [CRM-15033] Custom fields for Participant for Event Type not appearing when Participant is registered for an event
          David Greenberg added a comment -

          Mark - are you referring to front end event registration (e.g. civicrm/event/register) OR backend form? Would be helpful if you can recreate this on the 4.5 sandbox.

          Mark Tompsett added a comment -

          Dave, that would be the back-end form, ie Events -> Register Event Participant
          What is the URL of the 4.5 sandbox please?

          Thanks
          Mark

          Mark Tompsett added a comment -

          I have recreated the bug on the 4.5 sandbox.
          I created this set of custom fields.... http://drupal.sandbox.civicrm.org/civicrm/admin/custom/group?action=update&reset=1&id=5 ....which is specific to Events of type Fundraiser
          I then tried to edit a participant of such an event. Choose any participant from here.... http://drupal.sandbox.civicrm.org/civicrm/event?reset=1 .... and try to view or edit their participation and the Custom form does not appear, as I think it should.

          David Greenberg added a comment -

          Mark - your setup was reset, so I created another instance. Custom field set is called Fundraiser Options. I created a participant for Fall Fundraiser event, viewed and edited that event registration, the custom field set and field are present in all three cases. Screenshots attached.

          Note that by default the custom field set is COLLAPSED which may make it a bit less noticeable.

          If you can recreate for sure, then more detailed steps + screenshots of each step (and I'll try to look at it right away) so we can see what's different.

          Mark Tompsett added a comment -

          Thanks Dave

          I set the custom field set to be expanded on initial display, so it is much more obvious.
          It now seems to work.

          When will the fix be available, as I would like to download it and apply it to the site that I was experiencing the problem with?

          Thanks
          Mark

          David Greenberg added a comment -

          Mark - I don't think there have been any code changes in this area between yesterday and today. If you can recreate consistently with the current 4.5 beta codebase we can reopen this.

          Mark Tompsett added a comment -

          It may be that the problem can only be reproduced with an appropriate custom form that existed in 4.4 and is upgraded to 4.5.

          Mark

          David Greenberg added a comment -

          Mark - I just tested a site where I created a custom data set by Event Type in 4.4 and then ran the upgrade. The custom data set was displayed for new and existing registrations. I think you'll need to debug what you're seeing on your live site via Firebug and inspecting database values.

          Mark Tompsett added a comment -

          Dave - thanks for checking. I guess I have a problem with my custom form. I'll probably just rebuild it.

            People

            • Assignee:
              David Greenberg
              Reporter:
              Mark Tompsett

              Dates

              • Created:
                Updated:
                Resolved: