Doctrine MongoDB ODM
  1. Doctrine MongoDB ODM
  2. MODM-155

Github-PR-148 by roed: fixed generating of classes

    Details

    • Type: Improvement Improvement
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      This issue is created automatically through a Github pull request on behalf of

      {username}

      :

      Url: https://github.com/doctrine/mongodb-odm/pull/148

      Message:

      fixed the generating of classes based on xml files, changed ClassMetadata to ClassMetadataInfo in these files (as in the ORM tool/mapping)

      the following did not work, but works after these changes:
      $cmf = new \Doctrine\ODM\MongoDB\Tools\DisconnectedClassMetadataFactory();
      $cmf->setDocumentManager($this->_dm);
      $cmf->setConfiguration($this->_dm->getConfiguration());
      $driver = $this->_dm->getConfiguration()->getMetadataDriverImpl();

      $metadatas = $cmf->getAllMetadata(); //this would break it

      // $this->_dm is an instance of Doctrine\ODM\MongoDB\DocumentManager

        Activity

        Benjamin Eberlei created issue -

        This list may be incomplete, as errors occurred whilst retrieving source from linked applications:

        • Request to http://www.doctrine-project.org/fisheye/ failed: Error in remote call to 'FishEye 0 (http://www.doctrine-project.org/fisheye/)' (http://www.doctrine-project.org/fisheye) [AbstractRestCommand{path='/rest-service-fe/search-v1/crossRepositoryQuery', params={query=MODM-155, expand=changesets[0:20].revisions[0:29],reviews}, methodType=GET}] : Received status code 503 (Service Temporarily Unavailable)

          People

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

            Dates

            • Created:
              Updated: