[TYPO3-english] Re: what is wrong with my $this->redirect(...) call in this code?
Calgacus map Brude
calgach at gmail.com
Wed Feb 5 18:58:51 CET 2014
was missing the pageid of the coupon page, including it and now I can hit the coupon list page but I can't hit the new page if I change the code like so :
$this->redirect( 'new',
'Coupon',
'Bpscoupons',
array(
$this->objectManager->create('Tx_BpsCoupons_Domain_Model_Coupon'),
'message' => 'Your Message was saved, after you create the new Coupon return to the message.',
'bpsmessageid' => $bPSMessage->getUid()
),
44
);
should I pass null for the new object? so far that doesn't work and when I pass as shown I get this error:
Oops, an error occured!
Could not serialize Domain Object Tx_BpsCoupons_Domain_Model_Coupon. It is neither an Entity with identity properties set, nor a Value Object.
More information about the TYPO3-english
mailing list