Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Mapping Drivers
    • Labels:
      None

      Description

      I am importing the structure of my database by using doctrine:mapping:import
      When I run doctrine:generate:entities I get the error: Invalid mapping file

      The exception come from the following code in the function getElement l.105 if the class Doctrine\Common\Persistence\Mapping\Driver\FileDriver

      if (!isset($result[$className]))

      { throw MappingException::invalidMappingFile($className, str_replace('\\', '.', $className) . $this->locator->getFileExtension()); }

      When I look more in details we have

      $clasName = "Company\Eg\Entity\Schema\table"

      And $result is:

      array(1) {
      ["Company\Eg\Entity\Schema.table"]=>
      array(5) {
      (...)

      I am using PostgreSQL with multiple schemas for a single database.

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Jonathan H. Wage
            Reporter:
            Alexandre PIEL
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated: