Hi there,

i have a module called "availability" in my backend app, it's
"generator.yml" file has:

...
list:
          ...
          ...
          sort: [created_at desc]
...

Suddenly when i try to enter into the module i get an error:

SQLSTATE[42000]: Syntax error or access violation: 1064 You have an
error in your SQL syntax; check the manual that corresponds to your
MySQL server version for the right syntax to use near

If i delete or comment the "sort: [created_at desc]" part, the module
works fine. For some extrange reason de auto generated SQL tryes to
make an "order by" using "desc" and "asc" clausules both at the same
time in the query...that's why i get the exception...i have searched
for this error and found out some possible fixes, but none of them
works for me...is this a bug? i am using symfony 1.4 is there any
patch or possible fix?

Regards

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

Reply via email to