mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
DDC-1974: @OneToOne and @InheritanceType cause Duplicate Key Errors when changing the entity #2493
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 (Aug 9, 2012).
Originally assigned to: @beberlei on GitHub.
Jira issue originally created by user pdobrigkeit:
The code creates several tables and a UNIQUE KEY constraint on B (a_id)
Now trying to accomplish the following sequence of action:
The result is a "Duplicate entry '1' for key 'UNIQ_7F6BFCEBE26CCE03'"
@doctrinebot commented on GitHub (Aug 10, 2012):
Comment created by pdobrigkeit:
Current workaround is to change the ownership of the relationship
@doctrinebot commented on GitHub (Aug 29, 2012):
Comment created by @beberlei:
Insert before Removal is by design, see discussion here http://www.doctrine-project.org/jira/browse/DDC-601
@doctrinebot commented on GitHub (Aug 29, 2012):
Issue was closed with resolution "Won't Fix"