Bug report #16825
NULL value issue in range widget: a value of 0 is incorrectly displayed as NULL
Status: | Feedback | ||
---|---|---|---|
Priority: | Normal | ||
Assignee: | - | ||
Category: | Edit widget | ||
Affected QGIS version: | master | Regression?: | No |
Operating System: | Easy fix?: | No | |
Pull Request or Patch supplied: | No | Resolution: | |
Crashes QGIS or corrupts data: | No | Copied to github as #: | 24724 |
Description
An attribute field of a particular feature has a value of 0.000 and a range widget assigned.
The Postgis type is "numeric(9,3)".
"Allow NULL" is enabled in the edit widget options.
If one opens the form (editing mode enabled) with the identify tool, the display value is "NULL" instead of the zero that exists in the data. 0 or 0.000 should be dipslayed instead.
Three screenshots are attached to show the configuration, edit form and attribut table. The concerned attribute is "vonkm".
History
#1 Updated by Giovanni Manghi almost 6 years ago
- Status changed from Open to Feedback
Please check if this issue is still valid on QGIS 3.4.5 or 3.6.