mirror of
https://github.com/doctrine/orm.git
synced 2026-03-24 06:52:09 +01:00
DDC-833: Internal Collection of a PersistentCollection is an Entity #1030
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @doctrinebot on GitHub (Oct 7, 2010).
Originally assigned to: @beberlei on GitHub.
Jira issue originally created by user jeffreiffers:
The creation of an Associated Collection of a Proxy Class is broken by this line:
$entity is a Proxy Class and the property is the field users. The function ReflectionProperty::getValue() will return an Entity User. This results that the internal collection of the PersistenCollection is an Entity. This results in:
This is my Entity Configuration
@doctrinebot commented on GitHub (Oct 11, 2010):
Comment created by @beberlei:
Fixed formatting
@doctrinebot commented on GitHub (Oct 11, 2010):
Comment created by @beberlei:
I don't understand why this $reflField->getValue() returns a user entity. It should only return either NULL or a collection.
@doctrinebot commented on GitHub (Oct 11, 2010):
Comment created by @beberlei:
fixed aswell as another nasty bug.
@doctrinebot commented on GitHub (Oct 11, 2010):
Issue was closed with resolution "Fixed"