mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-05-25 09:34:26 +08:00
The `on_update` callback of triggers is called with previous fields and new fields, values. However since a recent change: https://github.com/discourse/discourse/pull/32810 this relationship is cached and would cause previous fields to equal new fields. This commit ensures we are refreshing the relationship before calling the `on_update` callback. |
||
|---|---|---|
| .. | ||
| admin_discourse_automation_automations_spec.rb | ||
| discourse_automation_append_last_checked_by_controller_spec.rb | ||
| discourse_automation_automations_spec.rb | ||
| discourse_automation_user_global_notices_spec.rb | ||