mirror of
https://github.com/discourse/discourse.git
synced 2026-08-08 17:53:55 +08:00
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. |
||
|---|---|---|
| .. | ||
| discourse_calendar/livestream | ||
| discourse_post_event | ||
| calendar_custom_fields_validator_spec.rb | ||
| calendar_first_day_of_week_spec.rb | ||
| calendar_settings_validator_spec.rb | ||
| calendar_spec.rb | ||
| group_timezones_spec.rb | ||
| users_on_holiday_spec.rb | ||