Bug #30934

persistAll() should only be called if EntityManager is still alive

Added by Thomas Hempel over 9 years ago. Updated over 9 years ago.

Status:
Resolved
Priority:
Should have
Category:
Persistence
Start date:
2011-10-14
Due date:
% Done:

100%

Estimated time:
PHP Version:
Has patch:
No
Complexity:

Description

In some cases it can happen, that the EntityManager is closed at the end of an controller. This can be a valid situation. See #30933 for more information.

It would be good if the persistAll() method is only called if the EntityManager is really functioning.


Related issues

Related to TYPO3.Flow - Feature #30933: Check for unique constraints on add()Needs FeedbackKarsten Dambekalns2011-10-14

Actions
#1

Updated by Karsten Dambekalns over 9 years ago

  • Project changed from TYPO3 Flow Base Distribution to TYPO3.Flow
  • Status changed from New to Accepted
  • Assignee set to Karsten Dambekalns
#2

Updated by Karsten Dambekalns over 9 years ago

  • Category set to Persistence
#4

Updated by Karsten Dambekalns over 9 years ago

  • Target version set to 1.0.2
  • Has patch set to No
#5

Updated by Gerrit Code Review over 9 years ago

  • Status changed from Accepted to Under Review

Patch set 1 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/7316

#6

Updated by Karsten Dambekalns over 9 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
#7

Updated by Gerrit Code Review over 9 years ago

  • Status changed from Resolved to Under Review

Patch set 1 for branch FLOW3-1.0 has been pushed to the review server.
It is available at http://review.typo3.org/7319

#8

Updated by Karsten Dambekalns over 9 years ago

  • Status changed from Under Review to Resolved

Also available in: Atom PDF