Jira issue originally created by user austinsmorris:
In Doctrine\ORM\PersistentCollection, the property coll represents the lazily loaded collection. The collection is not property initialized when using some of the methods defined in Doctrine\Common\Collection\Collection interface. These methods include key(), current(), and next(). Note that add() is excluded in order to allow extra lazy loading.
Since the collection, coll, is not initialized using these methods results in unexpected behavior.
Issue was closed with resolution "Fixed"