0
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2026-08-09 19:36:44 +08:00
discourse/plugins/discourse-calendar/app
Bannon Tanner 58629ffb77
FIX: Topic Merging with Events (#41369)
meta topic:
[`/t/371843`](https://meta.discourse.org/t/nomethoderror-in-topicscontroller-show-error-after-merging-topics/371843)

This fixes the bug pointed out about merging topics with events. The
issue was that when merging topics with events, it circumvented the
event validation logic and allowed event posts to be merged into topics
that already have events or displace the event post in the destination.

Add a topic extension to handle the event validation logic when merging
topics with events. Also add null safety in the event serializer to
handle cases where the event post is no longer valid.
2026-07-02 13:30:34 -05:00
..
controllers FIX: Single-occurrence RSVPs filled the "My events" calendar (#40813) 2026-07-01 21:04:25 +02:00
models FIX: Treat all-day calendar events as date-only (#41203) 2026-06-29 11:30:38 +02:00
serializers FIX: Topic Merging with Events (#41369) 2026-07-02 13:30:34 -05:00
services FIX: Single-occurrence RSVPs filled the "My events" calendar (#40813) 2026-07-01 21:04:25 +02:00
views/discourse_post_event/events FIX: Treat all-day calendar events as date-only (#41203) 2026-06-29 11:30:38 +02:00