> I've got exactly the same problem. I make an ajax request which
> trigger a 'not authorized' from AuthComponent. Then, instead of
> receiving a 403, I receive a 404 for missing controller 'Controller'.
> I noticed that Dispatcher is called twice, the second time with
> $controller = null.
> Have you found any answer to this problem?
>
> Fabrizio
>
Hi,
no but as a workaround for now I use:
$this->redirect( array( "action" => "somewhere" ) );
Specifying only the action there is no issue, in my case.
As I seen the response on a ajax call is given back within
requestAction, but the request object passed to dispatcher has some
wrong values (no controller, wrong "here" param)
This is really annoying, I hope to have some time this week to test on a
clean install and try to debug it out.
Let me know if you find a solution.
Thank you,
Luca
--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
No comments:
Post a Comment