Bug report #20471

Query Builder failed to test filter expression

Added by wendong song over 5 years ago. Updated about 5 years ago.

Affected QGIS version:3.4.1 Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:no timely feedback
Crashes QGIS or corrupts data:No Copied to github as #:28291


When you click test button of query builder, it does not warn you if the expression is wrong, instead it gives you all rows.
Is it designed to be that in 3.4? 3.2 gives you a warning.

Related issues

Duplicated by QGIS Application - Bug report #20485: filter doesn't break on invalid expressions Closed 2018-11-14


#1 Updated by Giovanni Manghi over 5 years ago

  • Status changed from Open to Feedback
  • Category changed from Map Tools to Vectors

Is that the filter/query builder in the vector layer properties?

You can just write a plain wrong SQL statement and QGIS will not warn/give an error?

#2 Updated by Jürgen Fischer over 5 years ago

#3 Updated by Giovanni Manghi about 5 years ago

  • Resolution set to no timely feedback
  • Status changed from Feedback to Closed

Also available in: Atom PDF