0
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2026-08-11 02:59:07 +08:00
discourse/plugins/discourse-calendar/spec/lib/discourse_post_event
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
..
event_finder_spec.rb FIX: Hide events from unlisted topics on the calendar (#41194) 2026-06-25 17:07:35 +02:00
event_parser_spec.rb FIX: Include full event details in notification emails (#40880) 2026-07-02 17:10:20 +02:00
pretty_text_spec.rb FIX: Include full event details in notification emails (#40880) 2026-07-02 17:10:20 +02:00
rrule_configurator_spec.rb FEATURE: simplifed event creation in the composer (#39835) 2026-05-26 15:04:05 -04:00
rrule_generator_spec.rb
time_sniffer_spec.rb
topic_extension_spec.rb FIX: Topic Merging with Events (#41369) 2026-07-02 13:30:34 -05:00