Hi everyone!
If I disable the webtoolbar in my app for any reason, I can't use the
profiler because this exception is thrown in the webprofiler. An exception
has been thrown during the rendering of a template ("You have requested a
non-existent service "web_profiler.debug.toolbar".") in
WebProfilerBundle:Profiler:layout.html.twig at line 5.
*500* Internal Server Error - Twig_Error_Runtime
*1* linked Exception:
- NonExistentServiceException
ยป<http://sf.localhost/app_dev.php/_profiler/4dc29a14b3396/search/results?ip=&url=&limit=10#traces_link_1>
To solve this, you must go to WebProfilerBundle:Profiler:layout.html.twigand
comment the include of the webtoolbar. At least this is the solution I
found.
I think this is not right. I think the right way should be that if the
toolbar config is disable, it should not be rendered in the app, but in the
profiler yes. But the way is now, if I disable it, I can't use it anywhere.
And that's bad, because the toolbar show good info, that can work as a
shorcut in the profiler (info like security, size of memory, amount of
query...)
What all you think about this?
Mario
PD: Sorry for my english.
--
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 [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-devs?hl=en