Bug report #2795
field calculator: correct calculation, but 0s written to table
|Affected QGIS version:||master||Regression?:||No|
|Operating System:||All||Easy fix?:||No|
|Pull Request or Patch supplied:||No||Resolution:||invalid|
|Crashes QGIS or corrupts data:||No||Copied to github as #:||12855|
When calculating (e.g. population/area/1000000), I see the correct results shown on the table, but after saving they are all set to 0
#5 Updated by Alister Hood over 7 years ago
- Pull Request or Patch supplied set to No
- Affected QGIS version set to master
- Crashes QGIS or corrupts data set to No
I've just heard a report from someone using QGIS 1.8 of the same problem as in my last comment - I'll open a new ticket if there isn't one already.
I don't believe this is an issue of the wrong field type. Can't that only be an issue if the field calculator puts text in a numerical field (in which case it changes to 0 when it is saved)?