doctrine/mongodb-odm — pull request #357 by romainneutron (2012-07-11 18:13:57+00:00)
Title: Fix findAndModify hydration after initialization and "new" option

Hello,

this PR fix an issue which is visible when using `findAndModify` AND `returnNew`
As you can see in the unit test embedded, the updated document is not used to hydrate if the document has already been initialized.