Skip to content


DDC-2564: PersistentCollection - coll is not initialized for Collection methods #3290

doctrinebot opened this Issue · 1 comment

2 participants


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"

@beberlei beberlei was assigned by doctrinebot
@doctrinebot doctrinebot added this to the 2.3.5 milestone
@doctrinebot doctrinebot closed this
@doctrinebot doctrinebot added the Bug label
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.