CiviEvent: Online registration of multiple participants is broken (if no waitlist activated)
Overview
Since 5.70, the online registration of multiple participants for an event is broken.
UPDATE - see the SE link for alternate replication steps for a variant on this
See: https://chat.civicrm.org/civicrm/pl/mximx4dcbjrtxk6ttqbidpxugo
(which refers to https://chat.civicrm.org/civicrm/pl/yyy87x537pb7ibhuipjsiobz4c and https://civicrm.stackexchange.com/questions/47780/people-approved-for-events-cant-register/47781?noredirect=1#comment57499_47781 )
Reproduction steps
-
Create an event, with Offer a Waitlist? = no, online registration activated, Register multiple participants? = yes, maximum additional participants = 1
-
Go to online registration: How many people are you registering? = 2
-
Register participants
-
When the registration for the last participant is started, there is a message:
Registration Error It looks like you are now registering a group of 2 participants. The event has 92 available spaces (you will not be wait listed).
It looks like you are now registering a group of 2 participants. The event has 92 available spaces (you will not be wait listed).
Current behaviour
Registration for multiple participants is broken, if there is no waitlist activated.
Expected behaviour
Registration for multiple participants should word as expected, is broken, regardless if waitlist is activated or not.
Environment information
This is a regression coming with CiviCRM 5.71
- CiviCRM: 5.71.2, 5.72.2
- PHP: 8.1
- CMS: WordPress
Comments
Workaround: activate waitlist