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

doctrinebot opened this Issue Jul 22, 2013 · 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 Dec 6, 2015
@doctrinebot doctrinebot added this to the 2.3.5 milestone Dec 6, 2015
@doctrinebot doctrinebot closed this Dec 6, 2015
@doctrinebot doctrinebot added the Bug label Dec 7, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment