Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ Yii Framework 2 mongodb extension Change Log
------------------------

- Bug #308: Fix `yii\mongodb\file\Upload::addFile()` error when uploading file with readonly permissions (sparchatus)
- Bug #312: Fixed `yii\mongodb\ActiveFixture::load()` doesn't populate data with _id (Lisio)


2.1.9 November 19, 2019
Expand Down
2 changes: 1 addition & 1 deletion src/ActiveFixture.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ public function load()
if (empty($data)) {
return;
}
$this->getCollection()->batchInsert($data);
$data = $this->getCollection()->batchInsert($data);
foreach ($data as $alias => $row) {
$this->data[$alias] = $row;
}
Expand Down