mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
Exception in IdentifierFlattener::flattenIdentifier - column name used instead of field name in identifier extraction
#5500
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 @tobiasstadler on GitHub (Apr 12, 2017).
Consider the following two entities:
I get an Exception in IdentifierFlattener::flattenIdentifier called from BasicEntityPersister::fetchVersionValue because. BasicEntityPersister::fetchVersionValue calls IdentifierFlattener::flattenIdentifier with the identifier field name, but IdentifierFlattener::flattenIdentifier expects the identifier column names.
@Ocramius commented on GitHub (Apr 12, 2017):
That should probably be changed to field names everywhere...