|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2013-01-18 22:20 UTC] bjori@php.net
[2013-01-18 22:20 UTC] bjori@php.net
-Status: Open
+Status: Closed
-Assigned To:
+Assigned To: bjori
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Oct 24 07:00:01 2025 UTC |
Description: ------------ When trying to insert a file the MongoId isn't returned. Instead it returns empty despite the file being actually saved. This happened after updating from Pecl Mongo 1.0.11 to 1.2.9. After reading the release notes of several releases I decided to downgrade to 1.2.4 and the script behaved as expected. Test script: --------------- $result = $this->getCollection()->put($filename, $rawData); if($result !== false) { //do something } Expected result: ---------------- Should return MongoId as per docs. Actual result: -------------- Returns empty