Skip to content

Loading…

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

Closed
doctrinebot opened this Issue · 3 comments

2 participants

@doctrinebot

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;

@doctrinebot

Comment created by @ocramius:

Please use https://github.com/doctrine/DoctrineBundle/issues for this case

@doctrinebot

Comment created by @ocramius:

Issue belongs to DoctrineBundle

@doctrinebot

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.