Skip to content

Broken Symfony profiler with twig "app" variable is passed in context #34

Description

@danakil

Hello,

I have installed this bundle on my Sylius 1.11 project, with Symfony 5.4.51.

If I want to pass the "app" global variable in a template :
{% if feature('devel_cart_order_cross_selling', {'twig_app': app|default}) %}
the entire profiler bar becomes empty, with just a "Loading..." text. When I click on it to display the profiler, it says:

Token not found Token "3834c4" not found.

This may be an edge case, and not a very good idea to use the entire "app" variable in the context, but I thougth I'll let you know.
Feel free to close if this report is not relevant or related to your bundle.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions