mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
DDC-3525: Exception "The column id must be mapped to a field in class" when associationKey used #4340
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 (Jan 20, 2015).
Jira issue originally created by user aivus:
I have issue when I use "associationKey"
I create test repo for reproduce this issue:
https://github.com/aivus/symfony2-foreign-bug
I make workaround, which works for me (
8461111e8a), but I'm not sure about it@doctrinebot commented on GitHub (Jan 21, 2015):
Comment created by aivus:
Add stacktrace
@Warxcell commented on GitHub (Nov 7, 2017):
+1 I had the same problem.
@lcobucci commented on GitHub (Nov 27, 2017):
@Warxcell sample projects are not really helpful for us because they don't isolate the ORM, could you please send us a failing test case that reproduces that behaviour? It would help us a lot to identify and fix the issue you're describing.
You can find examples on
388afb46d0/tests/Doctrine/Tests/ORM/Functional/Ticket