I just had a chat about this issue with Ocramius. (s)he agrees that it is a bug. Therefore, I will post an entry in the bug tracker.
Le mercredi 18 juin 2014 11:30:31 UTC+1, Elioty a écrit : > > Hi all > > I designed a class that has a OneToOne association with an abstract class. > This abstract class uses the OneToOne association as its instance's id. And > as soon as I add the inheritance attributes to my abstract entity, it makes > the commands doctrine:schema:validate and doctrine:schema:update --dump-sql > fail even though it tells me my schema is valid. If I use a proper ID field > different than the OneToOne association, it fixes the issue but I would > like to keep the OneToOne association as the ID of the abstract entity. > > More detailed version on SO: > > http://stackoverflow.com/questions/24265731/symfony-doctrine-class-table-inheritance-and-foreign-key-as-primary-key > > Thanks in advance for providing any help concerning this issue. > > Elioty > -- You received this message because you are subscribed to the Google Groups "doctrine-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/doctrine-user. For more options, visit https://groups.google.com/d/optout.
