0
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2026-08-08 17:53:55 +08:00
discourse/plugins/discourse-calendar/spec/lib
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
..
discourse_calendar/livestream FEATURE: livestreams as a persistent event option (#41096) 2026-06-26 12:30:21 -04:00
discourse_post_event FIX: Topic Merging with Events (#41369) 2026-07-02 13:30:34 -05:00
calendar_custom_fields_validator_spec.rb FIX: Support uppercase and separators in event custom field names (#40995) 2026-06-24 17:02:32 +02:00
calendar_first_day_of_week_spec.rb DEV: Clean up scope resolution operators in plugins (#34979) 2025-09-30 14:36:34 +02:00
calendar_settings_validator_spec.rb
calendar_spec.rb
group_timezones_spec.rb
users_on_holiday_spec.rb