[TYPO3-mvc] Update "does not happen"

Steffen Ritter info at rs-websystems.de
Wed Aug 25 10:32:43 CEST 2010


Am 25.08.2010 10:26, schrieb Franz Koch:
> Hey,
>
>> i have an action just fetching an object, setting an Param, putting it
>> to repository->update();
>> and assigning it to the view. an debug in view as well as in the
>> controller shows that the object is "dirty".
>>
>> But the object is not persisted. Where should I start searching? Any
>> hints?
>
> what do you do after repository->update($object)? Do you trigger a
> redirect, stop the execution of the script or alike? Sounds like extbase
> doesn't call the "persistAll" method in the persistence layer, which is
> only done at the end of the dispatcher cycle by default.
Hey Franz, thanx for your answer...
I do Nothing... My action consists of: getObject, manipulate object, 
assign object to view, update in repository... nothing else.

The possibilities of manually "calling" perstistAll are known to me. But 
this does not work either.

regards


More information about the TYPO3-project-typo3v4mvc mailing list