0
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2026-08-06 13:08:40 +08:00
discourse/plugins/discourse-assign/spec/system
Régis Hanol 0f5ab6e940
FIX: Resolve groups when bulk assigning topics (#41867)
Previously, picking a group in the bulk assign modal always failed with
a bodyless 500: the client only sent `username`, `group_name` was not a
permitted bulk action parameter, and the bulk operation only ever
resolved a `User` — so `Assigner` received `nil`, treated it as a
`Group`, and crashed dereferencing it.

This change routes both the bulk and single-topic paths through one
`DiscourseAssign::AssigneeResolver`, makes `Assigner#assign` return a
reason instead of raising for caller-supplied input, and surfaces
per-topic refusals through `@errors` so a partially applied bulk assign
explains itself instead of reporting success.

Ref - t/188206
2026-07-21 16:18:58 +02:00
..
page_objects FIX: avoid double arrow key nav for select-kit-filter (#41443) 2026-07-03 18:50:57 -04:00
assign_post_spec.rb FEATURE: add bootstrap first admin job (#39851) 2026-05-08 16:16:18 -03:00
assign_topic_spec.rb FIX: Publish "/staff/topic-assignment" on topic re-open (#39542) 2026-04-27 10:41:22 +02:00
bulk_assign_spec.rb FIX: Resolve groups when bulk assigning topics (#41867) 2026-07-21 16:18:58 +02:00
core_features_spec.rb
group_assigned_spec.rb FIX: show group Assignments tab based on assignable_level (#39085) 2026-04-08 16:50:27 +02:00
group_preferences_spec.rb
user_menu_spec.rb UX: Sort assignment notification menu by topic bump date (#41578) 2026-07-13 09:52:22 +10:00
user_preferences_spec.rb
viewing_assignments_in_the_bookmark_list_spec.rb FIX: Serialize only a bookmark target's active assignment (#41397) 2026-07-06 06:34:22 +08:00