Skip to content


DDC-2228: Entity generator with bundle inheritance doesn't create entity in right folder #2926

doctrinebot opened this Issue · 3 comments

2 participants


Jira issue originally created by user thehyunkel:

I use doctrine ORM in a symfony 2 project

I have 2 bundles in my project : a "CommonBundle" and a "LesNouvellesBundle".
CommonBundle is parent of LesNouvellesBundle

I used the following command line : php app/console doctrine:generate:entity --entity="CommonBundle:Article"

The generated entity is in LesNouvellesBundle/Entity folder and its namespace is : namespace GMP\LesNouvellesBundle\Entity;


Comment created by @ocramius:

Please use for this case


Comment created by @ocramius:

Issue belongs to DoctrineBundle


Issue was closed with resolution "Invalid"

@beberlei beberlei was assigned by doctrinebot
@doctrinebot doctrinebot closed this
@doctrinebot doctrinebot added the Bug label
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.