mirror of
https://github.com/doctrine/orm.git
synced 2026-03-24 06:52:09 +01:00
DDC-448: Cannot select rows from chield table by JoinColumn in @InheritanceType("JOINED") parent table #556
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 (Mar 20, 2010).
Jira issue originally created by user freeakk:
This bug is connected with http://www.doctrine-project.org/jira/browse/DDC-416
I have this schema.
So, we cannot select rows by JoinColumn from Inheritance tables, because doctrine selects SubTable.connectedClassId field, not mainTable.connectedClassId
This bug was fix in http://www.doctrine-project.org/jira/browse/DDC-416 patch, but it was not commited. I may write unit test for this problem
@doctrinebot commented on GitHub (Apr 12, 2010):
Comment created by @guilhermeblanco:
In
56a8f5cd53this issue was fixed!Thanks for the report!
@doctrinebot commented on GitHub (Apr 12, 2010):
Issue was closed with resolution "Fixed"
@doctrinebot commented on GitHub (Apr 13, 2010):
Comment created by romanb:
The testcase is irritating though, because connectedClassId is an object, not an id.