8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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
5.4.0-BETA3
When replacing the debug toolbar after an AJAX call using the Symfony-Debug-Toolbar-Replace header, a TypeError is logged to the console.
Symfony-Debug-Toolbar-Replace
TypeError
Uncaught TypeError: can't access property "classList", el is null removeClass https://localhost:8000/:22 showToolbar https://localhost:8000/:22 initToolbar https://localhost:8000/:22 loadToolbar https://localhost:8000/:22 load https://localhost:8000/:22 onreadystatechange https://localhost:8000/:22 request https://localhost:8000/:22 load https://localhost:8000/:22 loadToolbar https://localhost:8000/:22 finishAjaxRequest https://localhost:8000/:22 fetch https://localhost:8000/:22 promise callback*window.fetch https://localhost:8000/:22 <anonymous> https://localhost:8000/:16 setTimeout handler* https://localhost:8000/:15 localhost:8000:22:344
tl;dr: Create a controller that emits the Symfony-Debug-Toolbar-Replace header and perform an AJAX call to that controller.
Long version: use my reproducer that I've published on https://github.com/derrabus/wdt-reproducer
composer install symfony serve
Then access the / route of the app.
/
No response
The problem is gone if I downgrade only symfony/web-profiler-bundle to 5.3.
symfony/web-profiler-bundle
The text was updated successfully, but these errors were encountered:
Another side effect is that after the AJAX request the box that appears when hovering over the Symfony versions is cut off.
Sorry, something went wrong.
If I revert the changes of #41257, the error is gone.
/cc @aleho
d593a14
Successfully merging a pull request may close this issue.
Uh oh!
There was an error while loading. Please reload this page.
Symfony version(s) affected
5.4.0-BETA3
Description
When replacing the debug toolbar after an AJAX call using the
Symfony-Debug-Toolbar-Replace
header, aTypeError
is logged to the console.How to reproduce
tl;dr: Create a controller that emits the
Symfony-Debug-Toolbar-Replace
header and perform an AJAX call to that controller.Long version: use my reproducer that I've published on https://github.com/derrabus/wdt-reproducer
Then access the
/
route of the app.Possible Solution
No response
Additional Context
The problem is gone if I downgrade only
symfony/web-profiler-bundle
to 5.3.The text was updated successfully, but these errors were encountered: