Bug report #9958
Filter fails on file datasource if value is identical to field name
|Affected QGIS version:||2.2.0||Regression?:||No|
|Operating System:||Easy fix?:||No|
|Pull Request or Patch supplied:||No||Resolution:||up/downstream|
|Crashes QGIS or corrupts data:||No||Copied to github as #:||18456|
Hi, a user raised a nasty bug here on qgis 2.2:
when filtering (right click on the layer) a file layer (tested shp, tab and postgis), if typing an expression like
"MyField" = 'MYFIELD'
then no filter is applied.
Case seems unrelated, I have also tested with another datasource where "myfield" = 'MYFIELD'
In Master and 2.2, '!=' and '<>' , and 'not like 'MyField' are affected.
Marking it as a blocker since this can be really misleading, and user may not be aware of it.