[symfony-users] getDql(): aliases as expected, getSqlQuery(): aliases different!?

2011-01-20 Thread johnnygri
Hi there, currently having troubles inside a fairly simple preDqlSelect(), defined inside a record listener. I've followed the Doctrine documentation, using the code below I'm getting a Doctrine_Connection_Mysql_Exception that reads: Column not found: 1054 Unknown column 'a.publish_until' in

[symfony-users] Re: getDql(): aliases as expected, getSqlQuery(): aliases different!?

2011-01-20 Thread johnnygri
I've just removed the IF() clause and redefined it using a combination of standard boolean comparisons, now the aliases are correct in both the DQL and SQL. Possible new Doctrine bug here Jonathan? -- If you want to report a vulnerability issue on symfony, please send it to security at

[symfony-users] Complex conditional validation, symfony 1.3/4

2010-01-21 Thread johnnygri
Hi there, I have a rather complicated form of 50+ fields. The value of one of the first fields dictates whether validation should be performed on approximately half of the fields or not. These fields all need to be validated using native Symfony validators. As directed by the documentation I