mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
DDC-1892: [GH-383] Doctrine\ORM\EntityManager::transactional() - return original value returned by user's function #2387
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 (Jun 25, 2012).
Originally assigned to: @beberlei on GitHub.
Jira issue originally created by user @beberlei:
This issue is created automatically through a Github pull request on behalf of Crozin:
Url: https://github.com/doctrine/doctrine2/pull/383
Message:
Current behaviour of Doctrine\ORM\EntityManager::transactional() causes some troubles when we want to return a value that is considered FALSE (e.g. 0, empty string or NULL). Also returning TRUE makes no sense if errors are reported using exceptions.
@doctrinebot commented on GitHub (Jul 4, 2012):
Issue was closed with resolution "Won't Fix"
@doctrinebot commented on GitHub (Jul 4, 2012):
Comment created by @beberlei:
A related Github Pull-Request [GH-383] was closed
https://github.com/doctrine/doctrine2/pull/383
@doctrinebot commented on GitHub (Oct 1, 2013):
Comment created by @doctrinebot:
A related Github Pull-Request [GH-383] was closed:
https://github.com/doctrine/dbal/pull/383