eav-manager icon indicating copy to clipboard operation
eav-manager copied to clipboard

Urgent : Profiler : SQL Queries are not available

Open johnkrovitch opened this issue 6 years ago • 1 comments

The Doctrine profiler is disabled in EAV. But as the EAV profiler does not work, it is not possible to see what queries are made in a request.....

johnkrovitch avatar Jan 06 '20 11:01 johnkrovitch

I think this issue should be prioritized because it breaks all debugging options when using the EAV.

The solution is to removed the model data collector :

    # debug.yaml
    #services:
    #    Sidus\EAVModelBundle\Profiler\ModelConfigurationDataCollector:
    #        arguments:
    #            - '@Sidus\EAVModelBundle\Registry\FamilyRegistry'
    #            - '@Sidus\EAVModelBundle\Registry\AttributeTypeRegistry'
    #        tags:
    #            - { name: data_collector, id: sidus_eav_model, template: "@SidusEAVModel/Profiler/sidus_eav_model.html.twig" }
    #    Sidus\EAVModelBundle\Profiler\DataLoaderCollector:
    #        tags:
    #            - { name: data_collector, id: sidus_data_loader, template: "@SidusEAVModel/Profiler/sidus_data_collector.html.twig" }

johnkrovitch avatar Mar 11 '20 11:03 johnkrovitch