-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[3.0][WebProfilerBundle] Ajax toolbar block not showing up #17137
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
In 3.0.0 version there was an issue that prevented the Ajax panel to be displayed (see #16953). This is already fixed and it will be available in 3.0.1. |
@olix21 can you try the dev version of 3.0 and confirm this works for you please? |
@olix21 Since 3.0.1 is released now can you check against this version? |
@peterrehm yes |
I can confirm that this bug is fixed in my own applications after upgrading to 3.0.1. Example: @olix21 does your application define a custom value in the |
I have no web_profiler.excluded_ajax_paths in my configuration file. I don't know why it's not working |
These lines log the Ajax calls. Maybe you can add some |
Okay, I have detected a conflict between the pace javascript library (http://github.hubspot.com/pace/docs/welcome/) and the symfony profiler ajax block, but i don't know why nor how to resolve this. |
It looks like Pace replaces the whole XMLHttpRequest object instead of overwriting only the methods they want to change. This may be the reason why things fail, as the WDT might end up extending the Pace object rather than the native object, and the method on the Pace object might not be called when there is a change on the wrapped native object. |
Any JavaScript expert can help us resolve this issue? Otherwise, I'm afraid we'll need to close this as "won't fix" for being an edge case. Thanks! |
This does not seem to be an issue of the toolbar, but instead of Pace. Pace should not completely change behaviour of the object. There is no way to get the original XMLHttpRequest object. |
Closing here as this needs to be fixed in Pace. |
I just stumbled upon this issue and there is a workaround described here: CodeByZach/pace#261 |
Hello,
I have an issue with the display of the ajax block in the profiler.
I've an ajax request, but the profiler don't show anything.
I can't explain why but I think it's not normal
The text was updated successfully, but these errors were encountered: