Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NULL value issue in range widget: a value of 0 is incorrectly displayed as NULL #24724

Closed
qgib opened this issue Jul 10, 2017 · 2 comments
Closed
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Feedback Waiting on the submitter for answers Forms

Comments

@qgib
Copy link
Contributor

qgib commented Jul 10, 2017

Author Name: Andreas Neumann (@andreasneumann)
Original Redmine Issue: 16825
Affected QGIS version: master
Redmine category:edit_widget


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".


@qgib
Copy link
Contributor Author

qgib commented Mar 9, 2019

Author Name: Giovanni Manghi (@gioman)


Please check if this issue is still valid on QGIS 3.4.5 or 3.6.


  • status_id was changed from Open to Feedback

@qgib qgib added Feedback Waiting on the submitter for answers Bug Either a bug report, or a bug fix. Let's hope for the latter! Forms labels May 25, 2019
@gioman
Copy link
Contributor

gioman commented Aug 1, 2020

This seems fixed now.

@gioman gioman closed this as completed Aug 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Feedback Waiting on the submitter for answers Forms
Projects
None yet
Development

No branches or pull requests

2 participants