Doctrine exception – there is no active transacion
Notice: This thread is very old.
- Filip Procházka
- Moderator | 4668
You should rather be using ORM\EntityManager::transactional()
method. It calls flush at the end, so if you don't want that,
use Dbal\Connection::transactional()
- Čamo
- Member | 798
The problem was not in Doctrine transaction, but in
cause it throws an abort exception what causes a problem in try block. When i removed it from try block it started to work.
PS: Does someone know why netteAbortException in UI\Presenter::terminate doesn't have any message? It would save me a little time.
Thanks for help.
Last edited by Čamo (2015-11-25 22:56)