[Flow] persistenceManager->persistAll(), Fatal error

mario chiari ml at mariochiari.net
Mon Nov 18 16:44:51 CET 2013


Hi


if I try to define a deleteAction something like:

public function deleteAction(\....\Domain\Model\Myclass $myclass) {
		$this->myclassRepository->remove($myclass);
                $this->persistenceManager->persistAll(); }, 

I get the following error msg:

Fatal error: Call to a member function setAggregateRootObjects() on a
non-object
in /var/www/html/flow/Quickstart/Data/Temporary/Development/Cache/Code/Flow_Object_Classes/
TYPO3_Flow_Persistence_Generic_PersistenceManager.php on line 159.

Is it as it should be?

thanks cheers
mario





More information about the Flow mailing list