Skip to content

Runnable query is not runnable in DoctrineDataCollector #24782

Closed
@garak

Description

@garak
Q A
Bug report? yes
Feature request? no
BC Break report? no
RFC? no
Symfony version 3.3

This is some kind of re-opening of #20673.
The implementations done in 3b4a8f3 missed the point.
Getting a runnable query like the following one:

SELECT s0_.name AS name_0 FROM slide s0_ WHERE s0_.id = 'Object(Ramsey\\Uuid\\Uuid): \"363dd322-488e-4a60-8caf-c3cfe51f9d7c\"' LIMIT 1;

is pretty useless, because it's obviously not runnable at all.
What I expect is a query like this one:

SELECT s0_.name AS name_0 FROM slide s0_ WHERE s0_.id = '363dd322-488e-4a60-8caf-c3cfe51f9d7c' LIMIT 1;

that is really runnable (e.g. I can copy&paste in some database client)

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