[TYPO3-mvc] RFC #11128: Freshly created and persisted model cannot be removed in the same request

Felix Oertel mehl at foertel.com
Thu Jan 20 02:01:34 CET 2011


Hey guys,

this is an SVN patch request.

Type:
=====
Bugfix

Bugtracker:
===========
http://forge.typo3.org/issues/11128

Branches:
=========
trunk

Problem:
========
$repository->add($user);
$persistenceManager->persistAll();
$repository->remove($user);
will create an user-record but NOT flag it deleted.

Solution:
=========
Adjust handling of freshly created models in the repository.

regards, foertel


More information about the TYPO3-project-typo3v4mvc mailing list