[Solar-talk] Re: [Solar-svn] Revision 3037 (a.k.a page black-list)
Antti Holvikari
anttih at gmail.com
Mon Mar 24 12:27:29 CDT 2008
On Mon, Mar 24, 2008 at 7:10 PM, Jeff Surgeson <solar at 3hex.com> wrote:
> Hi Paul
>
> After reading yours and Antti's emails about this (aka page black list) sorry
> should have replied to this and not started a separate thread
>
> You say and I quote from your email
>
>
> >> As it is now, the front-controller *should* send all unrecognized
> >> requests to the default controller. The only time _notFound() is
> >> invoked is if the default controller can't be found. Is it not
> >> behaving this way? I may have messed up the logic moving things
> >> around.
>
> This is not quite the way it works, unrecognized requests invoke _notFound()
> no matter what.
>
> In my humble opinion in a production environment if a controller or action is
> not found forwarding to the default controller and default action is
> preferable to a error page. I accept that in the event of no default
> controller and action it needs to forward it to a error page.
Just to be clear, are you talking about page controller's _notFound()
or front controller's _notFound()?
My bet is that the _notFound() is invoked in your page class and not
in the front-controller. And this is the way it is supposed to.
Hope I'm not missing anything here.
--
Antti Holvikari <http://anttih.com>
More information about the Solar-talk
mailing list