mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
DDC-1382: getIdentifierValues causes an exception on entyties that have only association keys #1729
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 19, 2011).
Originally assigned to: @guilhermeblanco on GitHub.
Jira issue originally created by user goetas:
On entities that have only association keys as primary keys:
Calling BasicEntityPersister::exists() cause the invocation of ClassMetadata::getIdentifierValues() method.
This method returns associated entities as identifier values.
Then BasicEntityPersister::exists() tries to converts these objects to string, instead of searching their primary keys.
Some problems:
(sorry for my bad English)
@doctrinebot commented on GitHub (Oct 3, 2011):
Comment created by @guilhermeblanco:
Fixed in
24042863acIt should be available in next release.
@doctrinebot commented on GitHub (Oct 3, 2011):
Issue was closed with resolution "Fixed"