-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[3.0][WebProfilerBundle] Ajax toolbar block not showing up #16880
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Thanks @javiereguiluz, but i tested it with Angular, and it worked fine with Symfony 2.7. The problem is: everything works, i see all the requests in the profiler. The only thing that doesn't work is the ajax block inside the debug ba 8000 r. And, more importantly, i see that the JavaScript block for tracking the ajax requests is there - but there is no "sf-toolbar-block-ajax" markup block (see my screenshot). So the call form the ajax handler with
leads to nowhere. My understanding is that the markup should be there, even if no ajax is performed. But it isn't. So it won't show up if an ajax call is triggered later. Cheers, |
it seems that there is no declaration for Ajax collector in Because of that, template that required for displaying ajax calls not included into debug toolbar rendering. i have created pull request, but this is my first pull request on github so i may have made some mistakes. |
This PR was merged into the 3.0 branch. Discussion ---------- return ajax collector to collectors.php | Q | A | ------------- | --- | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | no | Fixed tickets | #16880 | License | MIT | Doc PR | in symfony 3.0 there is no ajax collector declared. Because of that debug toolbar do not display ajax calls Commits ------- 8a2c757 return ajax collector to collectors.php
Can confirm, this fixed it. Thanks! |
I installed a fresh Symfony 3 project on a Debian Jessie release (PHP 5.6) with
I noticed that the Ajax toolbar block is not showing up. I also noticed, that the twig template with the "sf-toolbar-block-ajax" block is not even injected:
I'm not sure if this is related, but the DB icon is also missing, although the DB panel is available:
Michael
The text was updated successfully, but these errors were encountered: