« Previous | Next » 

Revision f8dd9311

IDf8dd931115eaa67d707171ed34d8f8fb5bc845ce

Added by Karsten Dambekalns almost 10 years ago

[BUGFIX] Only flush() the Doctrine ORM if it is open

In some cases it can happen, that the EntityManager is closed at the end
of a request This can be a valid situation (see #30933 for more).

This change makes persistAll() check if the EntityManager is open
before calling flush() on it.

Change-Id: I92f0fae135ceee30e675a706e67d58ba937802cc
Fixes: #30934
Releases: 1.0, 1.1

  • added
  • modified
  • copied
  • renamed
  • deleted