mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
DDC-3167: Inherited property ignoral #3926
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 (Jun 16, 2014).
Originally assigned to: @Ocramius on GitHub.
Jira issue originally created by user cdaguerre:
Hi, This isn't a bug, more a question I originally posted here: https://github.com/doctrine/DoctrineBundle/issues/297
I have the following entity hierarchy, MyProduct being a parent entity mapped through class table inheritance :
SyliusProduct # Mapped superclass containing the 'options' association mapping
-- MyProduct # Mapped superclass that should override the association (Head of CTI)
---- MyProduct1 # Ultimate children (entities)
---- MyProduct2
---- MyProduct3
---- MyProduct4
I can't change the mapping of SyliusProduct (it's part of a Symfony vendor).
When generating the schema, doctrine wants to generate sylius_product_options tables for each ultimate child, which throws a 'tables exists' exception.
Is there a way to either:
I hope this is the right place and way to ask this question...
@doctrinebot commented on GitHub (Jun 16, 2014):
Issue was closed with resolution "Invalid"
@doctrinebot commented on GitHub (Jun 16, 2014):
Comment created by @ocramius:
Hi, sorry, but I have to close the ticket as it is not an issue/feature request. Use http://stackoverflow.com/ for such kind of questions.
Feel free to provide a link to the question in a comment below once you've ported it to SO.
@doctrinebot commented on GitHub (Jun 17, 2014):
Comment created by cdaguerre:
OK, so I guess this 'feature' exists?
I asked the question here: http://stackoverflow.com/questions/24271957/doctrine-class-table-inheritance-and-property-ignoral