discourse/plugins/automation/app/models/discourse_automation
Joffrey JAFFEUX 4f2a8d39da
FIX: correctly refreshes associated fields after update (#33246)
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.
2025-06-18 14:01:09 +02:00
..
automation.rb PERF: prevents N+1 on last_updated_by (#32817) 2025-05-20 17:07:37 +02:00
field.rb FIX: correctly refreshes associated fields after update (#33246) 2025-06-18 14:01:09 +02:00
pending_automation.rb FEATURE: Add automation statistics tracking to Automation (#31921) 2025-03-21 12:53:26 +11:00
pending_pm.rb FEATURE: Add automation statistics tracking to Automation (#31921) 2025-03-21 12:53:26 +11:00
stat.rb FIX: logs time even when automation raises (#32254) 2025-04-10 11:05:53 +02:00
user_global_notice.rb FEATURE: Add automation statistics tracking to Automation (#31921) 2025-03-21 12:53:26 +11:00