Open newerton opened 6 years ago
Does not work in version greater than 2.0.13.1
+1
This problem occurs if you include 'debug' in 'bootstrap' section in your app's config:
if (!YII_ENV_TEST) {
// configuration adjustments for 'dev' environment
$config['bootstrap'][] = 'debug';
...
}
In that case variable $event->data is overwritten
I would suggest to disable "Event Panel" in Debug Panel
$config['modules']['debug'] = [
'class' => 'yii\debug\Module',
'panels'=>[
'event'=>false,
]
];
I upgraded Yii2 to version 2.0.16-dev, and the events does not work.
https://github.com/beastbytes/yii2-wizard/blob/master/WizardBehavior.php#L164
Problem: https://github.com/yiisoft/yii2/blob/master/framework/base/Component.php#L518