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

Closed
opened 2026-01-22 14:04:16 +01:00 by admin · 3 comments
Owner

Originally created by @doctrinebot on GitHub (Jan 9, 2013).

Originally assigned to: @beberlei on GitHub.

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;

Originally created by @doctrinebot on GitHub (Jan 9, 2013). Originally assigned to: @beberlei on GitHub. 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;
admin added the Bug label 2026-01-22 14:04:16 +01:00
admin closed this issue 2026-01-22 14:04:16 +01:00
Author
Owner

@doctrinebot commented on GitHub (Jan 9, 2013):

Comment created by @ocramius:

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

@doctrinebot commented on GitHub (Jan 9, 2013): Comment created by @ocramius: Please use https://github.com/doctrine/DoctrineBundle/issues for this case
Author
Owner

@doctrinebot commented on GitHub (Jan 9, 2013):

Comment created by @ocramius:

Issue belongs to DoctrineBundle

@doctrinebot commented on GitHub (Jan 9, 2013): Comment created by @ocramius: Issue belongs to DoctrineBundle
Author
Owner

@doctrinebot commented on GitHub (Jan 9, 2013):

Issue was closed with resolution "Invalid"

@doctrinebot commented on GitHub (Jan 9, 2013): Issue was closed with resolution "Invalid"
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#2804