8000 Rendering of the form panel of the profiler breaks due to data.id being undefined · Issue #29291 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content
Rendering of the form panel of the profiler breaks due to data.id being undefined #29291
Closed
@stof

Description

@stof

Symfony version(s) affected: 3.4.18

Description
The macro form_tree_details and form_tree_entry uses data.id in a lot of places. Some of them check for it to be defined, but some others don't. And I got a case where it fails:

Twig_Error_Runtime:
Neither the property "id" nor one of the methods "id()", "getid()"/"isid()"/"hasid()" or "__call()" exist and have public access in class "Symfony\Component\VarDumper\Cloner\Data".

  at vendor/symfony/symfony/src/Symfony/Bundle/WebProfilerBundle/Resources/views/Collector/form.html.twig:429

How to reproduce
I don't have a standalone reproducer for now.

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

      0