Counters not updated when a new registrant is created

Created on 4 October 2024, 6 months ago

Problem/Motivation

When a new registrant is created, the cache tags of event series and event instances are not invalidated. This means that if a event series or instance page is showing the capacity, it will not be updated when a new registration is made.

By default, EntityBase::invalidateTagsOnSave() only invalidates list cache tags when a new entity is created, and only invalidates the other cache tags when an existing entity is updated. But in the case of Registrant entities we should also invalidate them when a new registrant is created.

🐛 Bug report
Status

Active

Version

2.0

Component

Recurring Events Registration (Submodule)

Created by

🇧🇬Bulgaria pfrenssen Sofia

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024