[Qgis-developer] Field Menu Range settings odd behaviour

roy roy royroge at outlook.com
Thu Nov 17 02:36:21 PST 2016


Hi,

working with field menu (QGIS 2.14.8 OSGEO4W64) i noted a behaviour that 
i find misleading and

could potentially lead to severe errors in edit session:

say that i want to set a range for an integer field with

min value 1

max value 5

step 1

at this point i would expect that QGIS only accepts "1 2 3 4 5" and 
throw an error if i insert 6

while editing; infact if i erroneously insert "6" QGIS will not complain 
and happily save the

maximun value for range (i.e 5) i find this odd and a way to defeat the 
hole pourpose of my

setting.

I think this is a bug, can anyone confirm? If this is the expected 
behaviour i think the logic

of this tool is flawed because QGIS should not insert values at his own 
will but should instead warn the

user that the value is outside the expected range.


Thanks, Roy.







More information about the Qgis-developer mailing list