[Qgis-user] Changes in table attribute causes "Invalid Field Index" error when trying to save
Alexandre Neto
senhor.neto at gmail.com
Tue Nov 20 02:47:14 PST 2012
Can anyone confirm me this error?
I already created a ticket for it: http://hub.qgis.org/issues/6735
I'm using, QGIS 1.8 6416f38, in a Windows Vista 32bit Machine. Changes in
table attribute causes "Invalid Field Index" error when trying to save.
The error occurs doing the following steps:
- Open editing;
- Create new field; # Ups... not the field type I wanted
- DO NOT SAVE;
- Erase the same field;
- Save edition.
QGIS is enable to save the changes trowing the following error:
Could not commit changes to layer teste2
Errors: ERROR: 1 attribute(s) not deleted.
SUCCESS: 1 attribute(s) added.
SUCCESS: 1 attribute value(s) changed.
Provider errors:
OGR error deleting field 1: Invalid field index
The error only occurs when deleting a recent created fields.
After that, the shapefile index seems to be messed up and data edited in
new fields may keep throwing errors, or even be lost.
I haven't tried in a Linux machine.
WORKAROUND: Always save editing immediately after creating a new field.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20121120/1bd8c60d/attachment.html>
More information about the Qgis-user
mailing list