mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
DDC-362: Missing namespace declaration in __call function of EntityRepository.php #450
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @doctrinebot on GitHub (Feb 22, 2010).
Originally assigned to: @beberlei on GitHub.
Jira issue originally created by user m.walter:
Line 167 of Doctrine\ORM\EntityRepository:
throw DoctrineException::findByNameRequired();
Should be:
throw \Doctrine\Common\DoctrineException::findByNameRequired();
Otherwise I get class not found exceptions, since DoctrineException is not part of the Doctrine\ORM namespace.
@doctrinebot commented on GitHub (Feb 22, 2010):
Comment created by romanb:
Right, that should be replaced with an ORMException. Thanks for catching this.
@doctrinebot commented on GitHub (Feb 23, 2010):
Comment created by shurakai:
I've attached a fix for this which also contains a UnitTest case.
@doctrinebot commented on GitHub (Feb 23, 2010):
Comment created by shurakai:
I've added another file, which contains the first file but also removes the other DoctrineException call and adds another unit test.
@doctrinebot commented on GitHub (Feb 23, 2010):
Comment created by @guilhermeblanco:
In r7208 this issue was fixed.
@doctrinebot commented on GitHub (Feb 23, 2010):
Issue was closed with resolution "Fixed"
@doctrinebot commented on GitHub (Dec 13, 2015):
Imported 2 attachments from Jira into https://gist.github.com/ac4a37ba3c4266361fb4