Opened 15 years ago

Closed 15 years ago

#1938 closed bug (worksforme)

Deleted features in shapefile reappear with "ERROR" in attribute table.

Reported by: cgsbob Owned by: nobody
Priority: major: does not work as expected Milestone:
Component: Vectors Version: Trunk
Keywords: Cc:
Must Fix for Release: No Platform: Debian
Platform Version: Awaiting user input: no

Description

I am using r11960 on Ubuntu amd64.

I selected several features in the "Open Attribute Table" window and clicked on "Delete Selected". These features are removed from the attribute table, but reappear after I click on "Toggle Editing". The word "ERROR" appears in the attribute fields, and the following message in the shell:

Debug: /home/bobm/src/gis/qgis_svn/src/app/attributetable/qgsattributetablemodel.cpp: 275: (rowToId) rowToId: row 7 not in the map
Debug: /home/bobm/src/gis/qgis_svn/src/app/attributetable/qgsattributetablemodel.cpp: 275: (rowToId) rowToId: row 7 not in the map
ERROR 1: Attempt to read shape with feature id (-999999) out of available range.

Change History (4)

comment:1 by cgsbob, 15 years ago

I should add that when I try to deleted the records that have "ERROR", qgis becomes unresponsive. CTRL-C does not work but CTRL-\ works.

comment:2 by pcav, 15 years ago

Component: Build/InstallVectors
Priority: critical: causes crash or data corruptionmajor: does not work as expected

comment:3 by lutra, 15 years ago

I cannot replicate the problem under ubuntu 32 bit with qgis trunk. Can you post a sample to be tested by others?

comment:4 by lutra, 15 years ago

Resolution: worksforme
Status: newclosed

Still not replicable here. Please reopen if necessary, but if possible attach problematic sample data.

Note: See TracTickets for help on using tickets.