DDC-50: Call to undefined method Doctrine\ORM\Mapping\OneToManyMapping::getQuotedJoinColumnName() #62

Closed
opened 2026-01-22 12:25:40 +01:00 by admin · 3 comments
Owner

Originally created by @doctrinebot on GitHub (Oct 15, 2009).

Jira issue originally created by user purnama:

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.

Originally created by @doctrinebot on GitHub (Oct 15, 2009). Jira issue originally created by user purnama: 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.
admin added the Bug label 2026-01-22 12:25:40 +01:00
admin closed this issue 2026-01-22 12:25:41 +01:00
Author
Owner

@doctrinebot commented on GitHub (Oct 15, 2009):

Comment created by romanb:

Should be fixed now in HEAD.

@doctrinebot commented on GitHub (Oct 15, 2009): Comment created by romanb: Should be fixed now in HEAD.
Author
Owner

@doctrinebot commented on GitHub (Oct 15, 2009):

Issue was closed with resolution "Fixed"

@doctrinebot commented on GitHub (Oct 15, 2009): Issue was closed with resolution "Fixed"
Author
Owner

@doctrinebot commented on GitHub (Dec 13, 2015):

Imported 1 attachments from Jira into https://gist.github.com/9915702c4f27a78ed91a

@doctrinebot commented on GitHub (Dec 13, 2015): Imported 1 attachments from Jira into https://gist.github.com/9915702c4f27a78ed91a - [10075_kateglox.sql](https://gist.github.com/9915702c4f27a78ed91a#file-10075_kateglox-sql)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#62