Doctrine 2 - ORM
  1. Doctrine 2 - ORM
  2. DDC-2228

Entity generator with bundle inheritance doesn't create entity in right folder

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Invalid
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Security Level: All
    • Labels:
      None

      Description

      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;

        Activity

        Hide
        Marco Pivetta added a comment -

        Issue belongs to DoctrineBundle

        Show
        Marco Pivetta added a comment - Issue belongs to DoctrineBundle
        Hide
        Marco Pivetta added a comment -
        Show
        Marco Pivetta added a comment - Please use https://github.com/doctrine/DoctrineBundle/issues for this case

          People

          • Assignee:
            Benjamin Eberlei
            Reporter:
            thehyunkel
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: