mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-05-01 08:54:47 +08:00
**Previously**, editing a group's default tag notifications silently
failed to save because `TagChooser` set
`watching_tags`/`tracking_tags`/etc. to arrays of `{id, name}` objects
after the tag objects refactor (#36678) and Rails scalar-array permits
dropped the hash values.
**Now**, `Group#asJSON` extracts tag names before sending, and
`GroupShowSerializer` / `UserTagNotificationsMixin` now return `{id,
name, slug}` tag objects for consistency with the rest of the refactor.
Ref - t/181980
|
||
|---|---|---|
| .. | ||
| basic_category_attributes.rb | ||
| email_logs_mixin.rb | ||
| localized_fancy_topic_title_mixin.rb | ||
| navigation_menu_tags_mixin.rb | ||
| topic_tags_mixin.rb | ||
| user_auth_tokens_mixin.rb | ||
| user_badge_post_and_topic_attributes_mixin.rb | ||
| user_primary_group_mixin.rb | ||
| user_sidebar_mixin.rb | ||
| user_status_mixin.rb | ||
| user_tag_notifications_mixin.rb | ||