[TYPO3-mvc] Could not serialize Domain Object

Stefano Cecere scecere at krur.com
Wed May 29 12:19:00 CEST 2013


i use the same command without problems...
maybe the object is invalid? did you try  @dontvalidate $newBooking ?




On 29/05/13 11:56, Peter Falk wrote:
> Hi,
>
> Get this annoying error when trying to redirect from one
> action/controller to another:
>
> public function createAction(Tx_TcDsfBooking_Domain_Model_Booking
> $newBooking) {
>
>     if($this->request->getArgument('pHours') > 0) {
>         $this->redirect('index', 'Payment', NULL, array('booking' =>
> $newBooking), $this->settings['paymentPid']);
>     }
>     ...
>     ...
>     ...
> }
>
> Can anyone tell me what the problem is, and how to solve it?
>
> Regards
> Peter


-- 

-- --- ----- -------

Stefano Cecere
KRUR studio - http://krur.com


More information about the TYPO3-project-typo3v4mvc mailing list