Closed (fixed)
Project:
Recurring Events
Version:
2.0.x-dev
Component:
Recurring Events Views (Submodule)
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
7 Feb 2024 at 09:15 UTC
Updated:
29 Sep 2026 at 04:26 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
owenbush commentedThank you for raising this issue. I see the problem now. There is a function `recurring_events_views_views_query_alter` which alters the query for the registrant list view to ensure that it displays registrants for all instances in a series registration series.
The problem is that previously the view had an id of 'registrations' but that was eventually changed in a later release of recurring events to be 'recurring_events_registrations' so it was better namespaced.
The code in the function was not updated to use that ID.
I'll get that addressed for you.
Comment #4
owenbush commentedPlease try out a patch from the MR and let me know whether it works for you.
Comment #5
chrisla commentedHeads up this will no longer apply against latest 2.0.x branch
Comment #6
chrisla commentedNew patch works against 2.0.2. Sorry can't get access to make MR right now.
@maintainers, could this get merged into 2.0 branch?
Comment #9
plopescPatch in #6 applied against 2.0.x and 3.0.x branches.
Comment #11
chrisla commentedMisreported error.
Comment #12
chrisla commentedAfter upgrading to 3.0, this code seems to break the "individual registration" views now.
In the code, it is assumed that
$registration_creation_service->getRegistrationType()will return a string, but it returns an object now. That means that the switch case afterwards always fires the default case. This causes the registrations views to show all registrants from all instances of a series when "individual registration" is active. This should not be the case.I believe the fix to use
$registration_creation_service->getRegistrationType()->valuesolves this.Comment #13
chrisla commentedFixed in https://www.drupal.org/project/recurring_events/issues/3626621