Fixed Jobs triggered by CLI add-on enable/disable run in the context of the add-on being disabled

Xon

Well-known member
Affected version
XF2.0.12
When disabling/enabling add-ons via the CLI, any jobs queued by onActiveChange are run in the parent task where the add-on is disabled.

However, if enabling/disabling an add-on via the web, any jobs queued by onActiveChange run in the next web request where the add-on is enabled.
 
Thank you for reporting this issue. It has now been resolved and we are aiming to include it in a future XF release (2.1.4).

Change log:
Run add-on onActiveChange method in a separate CLI process after transaction committed
Any changes made as a result of this issue being resolved may not be rolled out here until later.
 
Top Bottom