Ahah! Ich glaube, ich habe das Problem gefunden
main ← dev-improve-topics-bulk-action-specs
The `silent` option for bulk category changes was not being respected
when `crea… te_revision_on_bulk_topic_moves` was enabled. This caused
users watching the destination category to receive notifications even
when the "Perform this action silently" checkbox was checked.
The bug was introduced in commit 7a099ebb6a which added `silent: @silent`
to the `track_topic_field(:category_id)` block. However, since blocks
capture `self` at definition time (the class, not the instance), `@silent`
was always nil in that context.
The fix passes the `silent` value through the `TopicChanges` object which
is already available to the block as `tc`.
Also extends test coverage to verify both topic watchers and category
watchers are properly silenced in both code paths.
Ref - meta/t/390993
Die Option @silent wurde nicht ordnungsgemäß weitergegeben, was dazu führte, dass Benutzer, die die Ziel -Kategorie beobachteten, Benachrichtigungen erhielten, selbst wenn das Kontrollkästchen „Diese Aktion stillschweigend ausführen“ aktiviert war.
6 „Gefällt mir“