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

        thehyunkel created issue -
        Marco Pivetta made changes -
        Field Original Value New Value
        Status Open [ 1 ] Closed [ 6 ]
        Resolution Invalid [ 6 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved: