We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b453773 commit eb47b49Copy full SHA for eb47b49
CHANGELOG.md
@@ -5,6 +5,7 @@ Yii Framework 2 mongodb extension Change Log
5
------------------------
6
7
- Bug #308: Fix `yii\mongodb\file\Upload::addFile()` error when uploading file with readonly permissions (sparchatus)
8
+- Bug #312: Fixed `yii\mongodb\ActiveFixture::load()` doesn't populate data with _id (Lisio)
9
10
11
2.1.9 November 19, 2019
src/ActiveFixture.php
@@ -64,7 +64,7 @@ public function load()
64
if (empty($data)) {
65
return;
66
}
67
- $this->getCollection()->batchInsert($data);
+ $data = $this->getCollection()->batchInsert($data);
68
foreach ($data as $alias => $row) {
69
$this->data[$alias] = $row;
70
0 commit comments