Registration reminders also go to Waitlisted people

Created on 11 July 2025, 13 days ago

Problem/Motivation

The event registration reminders go to all registered people at the moment, regardless of whether they are waitlisted or not

Proposed resolution

In file recurring_events/modules/recurring_events_registration/modules/recurring_events_reminders/recurring_events_reminders.module line: 156.

Change: $registrants = $registration_creation_service->retrieveRegisteredParties();

To: $registrants = $registration_creation_service->retrieveRegisteredParties(TRUE, FALSE);

Background info:

From recurring_events/modules/recurring_events_registration/src/RegistrationCreationService.php line 170 onwards

/**
* Retrieve all registered parties.
*
* @param bool $include_nonwaitlisted
* Whether or not to include non-waitlisted registrants.
* @param bool $include_waitlisted
* Whether or not to include waitlisted registrants.
* @param int $uid
* The user ID for whom to retrieve registrants.
*
* @return array
* An array of registrants.
*/
public function retrieveRegisteredParties($include_nonwaitlisted = TRUE, $include_waitlisted = TRUE, $uid = FALSE) { ....

🐛 Bug report
Status

Active

Version

2.0

Component

Recurring Events Reminders (Submodule)

Created by

🇬🇧United Kingdom simonknight

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @simonknight
  • First commit to issue fork.
  • @plopesc opened merge request.
  • 🇪🇸Spain plopesc Valladolid

    Created MR with suggested changes. Could you please confirm that works as expected?

Production build 0.71.5 2024