[TYPO3-mvc] Could not serialize Domain Object
Peter Falk
pf at typoconsult.dk
Wed May 29 13:05:49 CEST 2013
Tried it, but without luck. The error does not occur when parsing the
function parameter, but when creating the redirect url. So at first the
object is okay, and then next...
FYI I have tried to set and get parameters from the object without any
problems, so I think the object is okay.
Regards
Peter
"Stefano Cecere" skrev i meddelelsen
news:mailman.1.1369822740.31110.typo3-project-typo3v4mvc at lists.typo3.org...
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