I have two extensions, I want to redirect from one to another in a specific action. This is my redirection code in the saveAction file of my bpsmessagcontroller of my bpsmessagecentre extension:
$this->redirect('list', 'Coupon', 'Bpscoupons', array('message' => 'Look Ma, no syntax errors!' ));
When it starts, it simply redirects back to the list page of the calling extension (bpsmessagecenter), it does not find the Bpscoupons extension at all.
When I try to use the same code with redirects instead of redirecting, I get 500 error.
The "list" action is accessible and works from a link on the site and from some other redirects inside the bpscoupons extension.
Why won't this redirected work? Is there anything about internal or external redirects that I need to configure somewhere?
I am using typo3 4.5.32. Thanks
PS, btw in my query string, I see that I get these parameters:
tx_bpscoupons_bpsmessagecentre[message]:Hi ma... etc
tx_bpscoupons_bpsmessagecentre[action]:list
tx_bpscoupons_bpsmessagecentre[controller]:Coupon
It seems to me that it is looking for a bpsmessagecentre object as a bpscoupons object, but I don't know.
source
share