[FLOW3-general] Object argument becomes null
Bastian Waidelich
bastian at typo3.org
Mon Jul 26 11:49:47 CEST 2010
Sebastian Kurfürst wrote:
Hey Scott & Sebastian,
> 2) Change the logic of forward(), to first persist the objects before
> the forward() is executed.
In his example Scott used redirect() not forward(). AFAIK it should work
when you use forward() instead, as that won't to a HTTP redirect but
basically call the new action "directly".
To work around this issue with redirect(), you can persist the object
explicitly by calling the persistAll() method of the PersistenceManager
before redirecting.
HTH,
Bastian
More information about the FLOW3-general
mailing list