Page MenuHomePhabricator

Event page cache is not purged when event registration is deleted
Closed, ResolvedPublicBUG REPORT

Description

Steps to replicate the issue (include links if applicable):

  • Create an event page with registration enabled
  • Delete the event registration
  • Go to the event page again

What happens?:
The registration header will still be visible, because the HTML of the event page is served from cache.

What should have happened instead?:
The registration header should not be visible.

Event Timeline

Change #1043201 had a related patch set uploaded (by Daimona Eaytoy; author: Daimona Eaytoy):

[mediawiki/extensions/CampaignEvents@master] Purge event page cache when event registration is deleted

https://gerrit.wikimedia.org/r/1043201

Change #1043201 merged by jenkins-bot:

[mediawiki/extensions/CampaignEvents@master] Purge event page cache when event registration is deleted

https://gerrit.wikimedia.org/r/1043201

vaughnwalters subscribed.

Create an event page with registration enabled
Delete the event registration
Go to the event page again

✅ The registration header should not be visible.

Screen Recording 2024-06-20 at 12.05.00 PM.gif (1×3 px, 788 KB)

This is working correctly in prod, marking as done / resolved