revolution
revolution copied to clipboard
Returned values from plugins resets before each new plugin
Bug report
Summary
$modx->event->returnedValues resets at each new plugin. Values don't returned from plugin if next plugin will run.
Step to reproduce
Create 2 plugins at one event, assign some value to $modx->event->returnedValues at first plugin.
Observed behavior
Try to get this values in a code generated event.
Expected behavior
Values must be accessible after all plugins if plugin don't reset it.
Environment
MODX 2+
I have a problem with it too
When will you fix it? It is necessary to comment out line 2875 in core\model\modx\modx.class.php '$this->returnedValues = null; in function resetEventObject(){