[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 Thu May 23 01:36:18 UTC 2013 using JIRA 5.2.7#850-sha1:b2af0c8dc8537b36121c6a579fabbdf79fc919e5.