Closed
Description
Symfony version(s) affected
6.1.0
Description
in web profiler's "Serializer" panel, i get error
Key "normalizer" for array with keys "data, dataType, type, format, time, context, normalization, encoding, encoder" does not exist.
in
vendor/symfony/web-profiler-bundle/Resources/views/Collector/serializer.html.twig:191
for some reason, the "normalizer" is not set.
the data supplied to the response is an object/entity which indeed gets normalized & serialized. i am not using any custom normalizers, but i am using custom circular reference handler.
How to reproduce
not really sure
Possible Solution
check for key existence
{% if item.normalizer is defined %}
<span class="nowrap"><a href="{{ item.normalizer.file|file_link(item.normalizer.line) }}" title="{{ item.normalizer.file }}">{{ item.normalizer.class }}</a> ({{ '%.2f'|format(item.normalizer.time * 1000) }} ms)</span>
{% endif %}
but this solves the effect, but not the cause.
Additional Context
No response