mirror of
https://github.com/doctrine/orm.git
synced 2026-03-24 06:52:09 +01:00
DDC-2983: TCI association not getting hydrated into sql statement #3711
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 (Feb 14, 2014).
Originally assigned to: @beberlei on GitHub.
Jira issue originally created by user machete:
Doing this:
Leads to
integrity constraint violation, b_id can not be null
aka
INSERT INTO a (id, b_id), (123, null);
I have no idea why this happens. This works:
@doctrinebot commented on GitHub (Mar 23, 2014):
Comment created by @beberlei:
This most likely happens because the UnitOfWork tries to set the owner and reverse incorrectly due to an ordering issue.