Summary
Static Plugins won't trigger their respective System Events if ANY other plugin has pdoToolsOnFenomInit as theirs (i.e. ClientConfig). Instead they will also trigger pdoToolsOnFenomInit even if it is not defined as their System Event. Tested on a fresh installation.
Steps to reproduce
- Enable pdotools_fenom_parser in System Settings
- Add regular Plugin, add pdoToolsOnFenomInit as System Event
- Add static Plugin, add OnLoadWebDocument or any other Event
- Log triggered event
Observed behavior
Static Plugin triggers pdoToolsOnFenomInit, not OnLoadWebDocument
Expected behavior
Static Plugin should trigger OnLoadWebDocument
Solution
- When Plugin with pdoToolsOnFenomInit is disabled, static plugin will trigger correctly again
- When static is disabled for static plugin, event will correctly again as well
Environment
MODX 3.0.5
pdoTools 3.0.2