[DDC-2693] Attribute/association overrides should be ignored when generating entities Created: 19/Sep/13 Updated: 26/Jun/14
|Project:||Doctrine 2 - ORM|
|Affects Version/s:||2.4, 2.3.4|
|Reporter:||Joris van de Sande||Assignee:||Benjamin Eberlei|
The "orm:generate-entities" command fails when doctrine attribute and/or association overrides are used. So from the moment that you use an attribute/association override, it is implossible to use the generate entities command. I think that the solution to this problem is to ignore the overrides when generating entities.
The exception given in case of an attribute override is (this is executed within a Symfony2 project doctrine:generate:entities):
|Comment by Rein Baarsma [ 27/Feb/14 ]|
I have the same issue and it's easy to reproduce with a clean Symfony 2 setup with FOSUserBundle.
It will properly do doc:schema:update --force