doctrine/mongodb-odm — comment on commit f4afcb2de3953f75d5346f322d28afd53784c883
File:  line 0
By kaiwa:

I wanted to take a look at this as you mentioned in #207, but noticed a strange behavior before it even comes to the `elemMatch()` call.

For some reason, the $user2 document is losing values as soon as `addPhonenumber()` is getting called. When omitting the `addPhonenumber()`-call, it is saved perfectly. Even stranger, it's not persisting the username property, but if i do `setCount(99)` for example, the `count` value is saved correctly. O_O

Could you please take a look at the data which is being saved to the db to confirm this?