DDC-174: Missing DoctrineException use statement in Doctrine\ORM\UnitOfWork #213

Closed
opened 2026-01-22 12:30:56 +01:00 by admin · 4 comments
Owner

Originally created by @doctrinebot on GitHub (Nov 25, 2009).

Jira issue originally created by user nicokaiser:

UnitOfWork throws a "DoctrineException" in several places, which resolves to "\Doctrine\ORM\DoctrineException" (instead of
Doctrine\Common\DoctrineException).

This should either be ORMException, or "use"d in the header.

Originally created by @doctrinebot on GitHub (Nov 25, 2009). Jira issue originally created by user nicokaiser: UnitOfWork throws a "DoctrineException" in several places, which resolves to "\Doctrine\ORM\DoctrineException" (instead of Doctrine\Common\DoctrineException). This should either be ORMException, or "use"d in the header.
admin added the Bug label 2026-01-22 12:30:56 +01:00
admin closed this issue 2026-01-22 12:30:57 +01:00
Author
Owner
@doctrinebot commented on GitHub (Nov 25, 2009): - depends on [DDC-92: Remove DoctrineException and introduce Doctrine\ORM\ORMException and Doctrine\DBAL\DBALException instead](http://www.doctrine-project.org/jira/browse/DDC-92)
Author
Owner

@doctrinebot commented on GitHub (Nov 25, 2009):

Comment created by nicokaiser:

This is a patch that fixes the "use" statement in UnitOfWork, so it properly finds DoctrineException...

@doctrinebot commented on GitHub (Nov 25, 2009): Comment created by nicokaiser: This is a patch that fixes the "use" statement in UnitOfWork, so it properly finds DoctrineException...
Author
Owner

@doctrinebot commented on GitHub (Dec 2, 2009):

Issue was closed with resolution "Fixed"

@doctrinebot commented on GitHub (Dec 2, 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/601b3c939f29a8d400fe

@doctrinebot commented on GitHub (Dec 13, 2015): Imported 1 attachments from Jira into https://gist.github.com/601b3c939f29a8d400fe - [10187_ddc-174-unitofwork-use.patch](https://gist.github.com/601b3c939f29a8d400fe#file-10187_ddc-174-unitofwork-use-patch)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#213