Affects Version/s: 2.1.6
Fix Version/s: 2.1.7
Security Level: All
First of all, I fully agree with Roman Borshell's concept that if you want identifier to be quoted you need to do it manually in Entity by back-ticking ` ` it.
That's what I did:
But when I ran a simple query
what I get is TERRIBLE output
It also quoted identifiers like "Surname"1, "Name"0.
I spent 3 hours digging your code, and finally found in Doctrine\ORM\Query\SqlWalker.php Ln: 969
You quote column and then pass it to getSQLColumnAlias which appends some number to the end.
Is there a fix already in newer versions? Where can i find it then - will definitely make a port to this one.