mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
DDC-2370: Subclass annotations not being read, unable to use OneToMany relation with single table inheritance #2977
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 26, 2013).
Originally assigned to: @beberlei on GitHub.
Jira issue originally created by user thinkscape:
Subclasses that override parent class properties and define relations will not work as expected, because AnnotationDriver/Reader will only use the parent class annotation (discarding whatever subclass defined).
The following code will produce error:
Test code:
@doctrinebot commented on GitHub (May 1, 2013):
Comment created by @beberlei:
Overwriting assocations in this way is not supported.
@doctrinebot commented on GitHub (May 1, 2013):
Issue was closed with resolution "Invalid"
@doctrinebot commented on GitHub (May 1, 2013):
Comment created by thinkscape:
Ok, I get that it's not supported right now, but why did you mark it as resolved?