[TYPO3-mvc] Could not serialize Domain Object

Peter Falk pf at typoconsult.dk
Wed May 29 11:56:17 CEST 2013


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 



More information about the TYPO3-project-typo3v4mvc mailing list