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. | |
priority | important |
---|---|
type | bug |
done in | 0.34.1 |
load left | 0.000 |
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] |