mirror of
https://github.com/doctrine/orm.git
synced 2026-03-24 06:52:09 +01:00
DDC-3886: ClassMetadata::getIdentifierValues is broken for uninitialized proxy objects #4754
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 (Sep 2, 2015).
Originally assigned to: @guilhermeblanco on GitHub.
Jira issue originally created by user stof:
ClassMetadata::getIdentifierValues uses Reflection to read the identifier from the object properties. But uninitialized proxies don't store them in these fields yet but in a special location in the proxy.
In such case, the return value of the method will be wrong.