rql #9234282 RQL query "Foo 12" should be invalid [resolved]
It's currently transformed into Any 12 even if Foo is not a valid entity type. At parse time, entity types are not known, thus making it impossible to check for entity type validity.
An alternative would have been to transform Foo 12 into Any X WHERE X is Foo, X eid 12 but I'd prefer to make RQL as strict as possible and use the magicsearch component in CubicWeb for such shortcuts.
|closed by||#7905bee83581 [parsing] Raise BadRQLQuery if shortcut type settings is used without any variable|
|patch||[parsing] Raise BadRQLQuery if shortcut type settings is used without any variable [applied]|