QGIS saves integer field when I create a new real field through field calculator (Update field works as intended) #26880
Labels
Attribute Table
Bug
Either a bug report, or a bug fix. Let's hope for the latter!
Crash/Data Corruption
Regression
Something which used to work, but doesn't anymore
Author Name: Stefan Newluck (Stefan Newluck)
Original Redmine Issue: 19050
Affected QGIS version: 2.18.2
Redmine category:attribute_table
Assignee: Alessandro Pasotti
Problem:
When I create a new real field from within field calculator and calculate a decimal value, it is displayed correctly until I hit save. After save the field is saved as integer.
Please see the attached screenshot for an illustration.
What should happen:
The field should of course stay real.
Workaround:
Hit "Create field" and create a real field there. Then open field calculator and calculate decimal values into that field by updating it. Hit save and the field stays real.
Steps to reproduce:
The text was updated successfully, but these errors were encountered: