[TYPO3-mvc] Tx_Extbase_Persistence_Repository->add() does not work

Thomas "Thasmo" Deinhamer thasmo at gmail.com
Tue Sep 14 10:49:57 CEST 2010


Am 14.09.2010 10:25, schrieb Alexander Dick:
> I really have no idea what's wrong. Please someone help me.

Do you redirect after you use "add"?
Not sure, but I've encountered, that some things don't get saved
if you redirect, because then the persistance is not done and you
need to do it manually.

Try this after tyou added the object:

$persistenceManager =
t3lib_div::makeInstance('Tx_Extbase_Persistence_Manager');	 
$persistenceManager->persistAll();

Regards,
Thomas


More information about the TYPO3-project-typo3v4mvc mailing list