cubicweb #7952 bad rql yields sql syntax error [rejected]

sample:

rql = 'Any F,N ORDERBY N WHERE F is Folder, F name N, R name "fr", F filed_under RF'

sql = 'SELECT FROM VersionedFile AS R WHERE R.name=:66684016'
prioritynormal
typebug
done in3.4.5
load0.000
load left0.000
closed by<not specified>