mirror of
https://github.com/doctrine/orm.git
synced 2026-03-24 06:52:09 +01:00
DDC-2189: Bidirectional one-to-many association with Class Table Inheritance do not work #2757
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 (Dec 6, 2012).
Originally assigned to: @beberlei on GitHub.
Jira issue originally created by user syao.work:
Bidirectional one-to-many association with Class Table Inheritance does not work. Example.
Entity Box;
Entity Item;
Entity BoxItem extends Item;
BoxItem has ManyToOne to Box;
Box has OneToMany to BoxItems;
Validation Error:
Got an error: Entities\Box: "The association Entities\Box#items refers to the owning side field Entities\BoxItem#box which does not exist.",
@doctrinebot commented on GitHub (Dec 6, 2012):
Comment created by @ocramius:
Not a blocker
@doctrinebot commented on GitHub (Dec 6, 2012):
Comment created by @ocramius:
[~syao.work] this looks invalid to me.
What's
Asmuo?@doctrinebot commented on GitHub (Dec 6, 2012):
Comment created by syao.work:
Sorry, I did post wrong file BoxItem, my mistake, but the bug persists.
@doctrinebot commented on GitHub (Dec 6, 2012):
Comment created by @ocramius:
Just checked on my side with attached entities (changed some namespaces, see latest attached files) and everything's fine.
[~syao.work] you got a typo on one of your annotations, which is
MayToOneand should beManyToOne.@doctrinebot commented on GitHub (Dec 24, 2012):
Comment created by @beberlei:
Error caused by Invalid mapping
@doctrinebot commented on GitHub (Dec 24, 2012):
Issue was closed with resolution "Invalid"