[DDC-2171] LENGTH doesn't support subquery Created: 26/Nov/12  Updated: 16/Dec/12  Resolved: 16/Dec/12

Status: Resolved
Project: Doctrine 2 - ORM
Component/s: DQL
Affects Version/s: None
Fix Version/s: None
Security Level: All

Type: Bug Priority: Major
Reporter: Miha Vrhovnik Assignee: Benjamin Eberlei
Resolution: Won't Fix Votes: 0
Labels: None


 Description   

It seems that one is unable to do
SUBSTRING(
l.label, 0, 1 + LENGTH(
SELECT l2.label FROM Foo:Label AS l2 WHERE l2.id = :label
)) = ...



 Comments   
Comment by Benjamin Eberlei [ 16/Dec/12 ]

Yes, the DQL EBNF doesn't allow this.

Comment by Miha Vrhovnik [ 16/Dec/12 ]

I'm sorry benjamin, but I don't agree with won't fix ... This should stay open even if there is a won't fix ATM because of time constraints...

Generated at Wed Jul 23 18:19:52 UTC 2014 using JIRA 6.2.3#6260-sha1:63ef1d6dac3f4f4d7db4c1effd405ba38ccdc558.