Doctrine 2 - ORM
  1. Doctrine 2 - ORM
  2. DDC-50

Call to undefined method Doctrine\ORM\Mapping\OneToManyMapping::getQuotedJoinColumnName()

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Blocker Blocker
    • Resolution: Fixed
    • Affects Version/s: 2.0-ALPHA3
    • Fix Version/s: 2.0-ALPHA3
    • Component/s: ORM
    • Security Level: All
    • Labels:
      None
    • Environment:

      Description

      with the $config->setAllowPartialObjects(false); i make an query to
      phrase, and get a phrase object. sofar so good

      but as i try to get the type or lexical member like $phrase->getType()
      it throws a Fatal error like this:

      Fatal error: Call to undefined method
      Doctrine\ORM\Mapping\OneToManyMapping::getQuotedJoinColumnName() in
      /usr/local/zend/apache2/htdocs/doctrine/lib/Doctrine/ORM/Persisters/StandardEntityPersister.php
      on line 599

      i read this on doctrine-user groups

      http://groups.google.com/group/doctrine-user/browse_thread/thread/a15d430b4ae483b4/dc7665ed137a4e78?lnk=gst&q=getQuotedJoinColumnName#dc7665ed137a4e78

      and i take a look if the line

      $owningAssoc = $this->_class->associationMappings[$coll->getMapping()->mappedByFieldName];

      present on StandardEntityPersister#loadOneToManyCollection.

      and yes. its present. but i still got this error.

        Activity

          People

          • Assignee:
            Roman S. Borschel
            Reporter:
            Arthur Purnama
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: