mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
DDC-1895: update an entity with an ID column which is a relation instead of a normal field #2390
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 (Jun 27, 2012).
Originally assigned to: @beberlei on GitHub.
Jira issue originally created by user burgov:
I got this error when trying to update an entity with an ID column which is a relation instead of a normal field: https://gist.github.com/3399c0ad5e0a44a29f98
Here is the relevant mapping:
I was able to fix the error by updating BasicEntityPersister: https://github.com/SamsonIT/doctrine2/compare/fetchingid_column_ifrelation
@doctrinebot commented on GitHub (Jul 5, 2012):
Comment created by @beberlei:
Fixed
@doctrinebot commented on GitHub (Jul 5, 2012):
Issue was closed with resolution "Fixed"