Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Major
-
Resolution: Cannot Reproduce
-
Affects Version/s: 1.0.0BETA2
-
Fix Version/s: 1.0.0BETA3
-
Component/s: Mongo, MongoCollection, MongoCursor
-
Labels:None
-
Environment:CentOS, PHP 5.3
Description
subj
it happens because the code goes out of the function at line 334 in file
\Doctrine\ODM\MongoDB\MongoCollection.php
without invoking appropriate event handlers
thanks!
I'm using 1.0.0BETA1
https://github.com/doctrine/mongodb-odm/blob/1.0.0BETA1/lib/Doctrine/ODM/MongoDB/MongoCollection.php
there is a "return" at line 338
so the function invoke "preFindOne" but not "postFindOne"