Bug report #7378
Fields created with the field calculator are filled with NULLs
|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 #:||16350|
Seems another attribute indexing regression:
1. Create a new field with the calculator
2. The preview in the attribute table looks ok
3. Close and reopen the table
4. The column is filled with NULLs
It only affects newly created fields. Updating existing fields works well.
#4 Updated by Pedro Venâncio over 8 years ago
I also confirm this bug with the master version compiled yesterday (Xubuntu 12.04).
In the several attempts I made, there was one that I had some records selected manually, and created a new column, with the "Only update selected features" option, and it corrupted the shapefile (erased all records of the attribute table). After that I have done several attempts to try to reproduce this serious problem, but has not happened again.