Skip to content

[Profiler] rendered templates always show the vendor one. #27911

@lerminou

Description

@lerminou

Symfony version(s) affected: 4.1

Description
In the Web-Profiler component the section 'Rendered Templates' seems to show the template from vendor when we override one of them

When we mouse-on the template, the path is good (to the vendor directory or the overriden one) but the label always show @FOSUser/layout.html.twig.

Is there any issue here ? it's difficult to really see which templates are rendered.
Maybe an @app/@FOSUser/layout.html.twig can help to show overriden files ?

How to reproduce
I tried with the FOSUserBundle layout.thig file.
The base template is vendor/friendsofsymfony/user-bundle/Resources/views/layout.html.twig

I override this template in the following directory : templates/bundles/FOSUserBundle/layout.html.twig

Please, have a look at the screenshots.

Additional context
From app directory:
overriden template

From vendor:
base template

Metadata

Metadata

Assignees

No one assigned

    Labels

    DXDX = Developer eXperience (anything that improves the experience of using Symfony)RFCRFC = Request For Comments (proposals about features that you want to be discussed)WebProfilerBundle

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions