mirror of
https://github.com/discourse/discourse.git
synced 2026-08-09 19:02:51 +08:00
In #41169 we demoted the uncategorized category, a knock on effect is that `Jobs::EnsureDbConsistency` backfills the definition topic as `SiteSetting.uncategorized_category_id` (now set to `-1`) no longer matches the original uncategorized category id. Previously it would be skipped due to the check in the [Category.ensure_consistency!](https://github.com/discourse/discourse/blob/main/app/models/category.rb#L1253) against the site setting value. The solution here is to upsert a custom field to the original uncategorized topic so that the backfill job that runs every 12 hours does not attempt to create the definition topic. |
||
|---|---|---|
| .. | ||
| action | ||
| splash_screen_image_changed_spec.rb | ||
| update_spec.rb | ||
| upsert_groups_spec.rb | ||