yii2tech / ar-variation

Variation behavior for ActiveRecord
Other
48 stars 10 forks source link

Default variation saving fail with yii 2.0.14 #20

Closed klimov-paul closed 6 years ago

klimov-paul commented 6 years ago

Saving attributes of default variation scenario unable to function with yii 2.0.14:

$model = new Item();
$model->name = 'new item';
$model->title = 'new title';
$model->description = 'new description';
$model->save(false); // no translation saved

This issue is caused by https://github.com/yiisoft/yii2/pull/13618

klimov-paul commented 6 years ago

Resolved by commit 92df158cbc73b25b3782da78093b5b587ae46285