[QGIS-trac] [Quantum GIS] #1938: Deleted features in shapefile reappear with "ERROR" in attribute table.

Quantum GIS qgis at qgis.org
Sun Sep 20 13:07:56 EDT 2009


#1938: Deleted features in shapefile reappear with "ERROR" in attribute table.
---------------------------------------------------------+------------------
   Reporter:  cgsbob                                     |              Owner:  nobody
       Type:  bug                                        |             Status:  new   
   Priority:  critical: causes crash or data corruption  |          Milestone:        
  Component:  Build/Install                              |            Version:  HEAD  
   Keywords:                                             |   Platform_version:        
   Platform:  Debian                                     |           Must_fix:  No    
Status_info:  0                                          |  
---------------------------------------------------------+------------------
 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.

 }}}

-- 
Ticket URL: <http://trac.osgeo.org/qgis/ticket/1938>
Quantum GIS <http://qgis.org>
Quantum GIS is an Open Source GIS viewer/editor supporting OGR, PostGIS, and GRASS formats


More information about the QGIS-trac mailing list