Skip to content

Runnable query not runnable in DoctrineDataCollector #34234

Closed
@garak

Description

@garak

Symfony version(s) affected: 4.3 and 4.4.X

Description
This is a reopening of issue #24782, that was closed with merged code. I'm not sure if merged code was working and then at some point was regressed, or if instead it never worked

How to reproduce
Just like old issue: run a query with an object identifier (like Ramsey\Uuid) and inspect query in profiler, clicking "View runnable query".

Example of viewed query:

SELECT e0_.name AS name_0, e0_.id AS id_2 FROM element e0_ WHERE e0_.id = '/* Object(Ramsey\\Uuid\\Uuid): */\"919a1f66-6e93-412d-909e-6a851b3f1ec8\"' LIMIT 1;

Query should be instead:

SELECT e0_.name AS name_0, e0_.id AS id_2 FROM element e0_ WHERE e0_.id = /* Object(Ramsey\\Uuid\\Uuid): */ '919a1f66-6e93-412d-909e-6a851b3f1ec8' LIMIT 1;

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