Skip to content

Exception page in Symfony Profiler is broken after redesign #22442

@sustmi

Description

@sustmi
Q A
Bug report? yes
Feature request? no
BC Break report? no
RFC? no
Symfony version master

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:
broken-exception-page

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

called from
{{ render(path('_profiler_exception', { token: token })) }}
.

Therefore SVG "+" and "-" icons are displayed in default dimensions that are 1792x1792.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions