core icon indicating copy to clipboard operation
core copied to clipboard

Twig dump function instead of profiler_dump function in Web Profiler DataCollector template

Open acaenepeel opened this issue 3 years ago • 1 comments

Should this line not use the profiler_dump function instead of the default dump function? https://github.com/api-platform/core/blob/16b811109d390afbb4fa5debd7a135599328487f/src/Symfony/Bundle/Resources/views/DataCollector/request.html.twig#L184C66-L184C66

acaenepeel avatar Aug 30 '23 10:08 acaenepeel

The code was updated and now it's dump(parameter.extraProperties['_api_values']).

So I tried and the response is profiler_dump does not work cf https://github.com/api-platform/core/pull/7678 ; tests are failing with the change. profiler_dump only exists to dump the class Data and in this case this is mixed.

So unless an "real" issue with this code is reported, I think we can close this (cc @soyuka)

VincentLanglet avatar Jan 17 '26 13:01 VincentLanglet