-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
Exception page in Symfony Profiler is broken after redesign #22442
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
The problem could be solved by changing
<html> , <body> and <head> tags) into another page.
The other solution that comes into my mind is moving the in-line |
I have just found that
@Twig/Exception/exception_full.html inside the Symfony Profiler page.
|
Noticed this as well. Status: reviewed |
…iereguiluz) This PR was merged into the 3.3-dev branch. Discussion ---------- Fixed the rendering of exceptions inside the profiler | Q | A | ------------- | --- | Branch? | master | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | #22442 | License | MIT | Doc PR | - In #22448 we tried to reuse the same CSS styles as the new exception pages. But that's not enough because it doesn't look good:  --- This PR goes a bit further and tweaks the exception styles slightly to better integrate them. Same page as before:  It should also work reasonably well when the exception message is very long:  Commits ------- 73d81de Fixed the rendering of exceptions inside the profiler
After the recent redesign of the exception page in PR #20951 the exception page in saved profile in Symfony Profiler (URL
/_profiler/{token}?panel=exception
) is broken.See the screenshot:

It looks like rendering a saved profile uses only
@Twig/Exception/exception.twig.html
template without the@Twig/layout.html.twig
that contains CSS for the page.See
symfony/src/Symfony/Bundle/WebProfilerBundle/Controller/ExceptionController.php
Line 66 in bbe269f
symfony/src/Symfony/Bundle/WebProfilerBundle/Resources/views/Collector/exception.html.twig
Line 33 in bbe269f
Therefore SVG "+" and "-" icons are displayed in default dimensions that are 1792x1792.
The text was updated successfully, but these errors were encountered: