[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


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

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 Sun Oct 04 11:30:01 EDT 2015 using JIRA 6.4.10#64025-sha1:5b8b74079161cd76a20ab66dda52747ee6701bd6.