Bug report #20537
Testing a filter for .osm datasources shows placeholders in the message
|Affected QGIS version:||3.4.1||Regression?:||No|
|Operating System:||Ubuntu 18.10, Windows 10||Easy fix?:||No|
|Pull Request or Patch supplied:||No||Resolution:|
|Crashes QGIS or corrupts data:||No||Copied to github as #:||28357|
When applying a filter (e.g. 1 = 1) on a vector layer and pressing the Test button, sometimes I get message with placeholders unreplaced:
The where clause returned %n row(s).
This currently happened on a .osm layer.
#3 Updated by Ivan Ivanov about 2 years ago
I had the same problem on Windows 10 and Ubuntu before with en_US systrem locale. What is more, currently the bug only is observed only with .osm files, tried with .gpkg/.shp/.gdb and it correctly replaces the placeholder with number.
[email protected]:~$ locale LANG=C.UTF-8 LANGUAGE= LC_CTYPE="C.UTF-8" LC_NUMERIC=en_US.UTF-8 LC_TIME=C.UTF-8 LC_COLLATE="C.UTF-8" LC_MONETARY=C.UTF-8 LC_MESSAGES="C.UTF-8" LC_PAPER=C.UTF-8 LC_NAME=C.UTF-8 LC_ADDRESS=C.UTF-8 LC_TELEPHONE=C.UTF-8 LC_MEASUREMENT=C.UTF-8 LC_IDENTIFICATION=C.UTF-8 LC_ALL=