Le 13/05/2011 22:13, Carl a écrit :
This probably isn't incredibly new behavior but I just recently
updated to the latest master of Symfony2 and I noticed that
NotFoundHttpException is no longer caught when it's thrown unless I
use the dev environment.. I just get a blank white page instead. I've
tried to keep up with the changes to the framework as best I can and
this somehow managed to sneak by me. I've also updated my application
to the Standard Edition.
Is the intent to have us write our own exception handler class to
catch these kinds of exceptions in a production environment or is
something else planned? It isn't a big deal to write my own exception
handler (it's taken me more time to write this post) but I was just
wondering where the framework might be headed with this. Thanks! :)
A NotFoundHttpException should be intercepted by the ExceptionListener
and turned into a 404 response. so this seems to be a bug. Are you using
beta1 or the current master branch ?
--
Christophe | Stof
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en