How that happens? If I call $this->get('request'); inside controller  I can 
access the request object. But if do the same in error handler on error 
that occurred the same time (as I could ask for request in the controller) I 
cannot get it. Seems strange for me.

Is there any possible solutions? Should I work with the global variables in 
this situation or somehow workaround this issue?

Christophe COEVOET wrote: 
>
> The issue is that the error is handled after the kernel leaves the request 
> scope, so you cannot access the request there.
>
> -- 
> Christophe | Stof
>
>
Thanks! 

-- 
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 developers" group.
To post to this group, send email to symfony-devs@googlegroups.com
To unsubscribe from this group, send email to
symfony-devs+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-devs?hl=en

Reply via email to