[QGIS-trac] Re: [Quantum GIS] #1935: Crash when setting edit widget in layer properties dialogue/attribute tab to immutable

Quantum GIS qgis at qgis.org
Wed Sep 23 10:16:12 EDT 2009


#1935: Crash when setting edit widget in layer properties dialogue/attribute tab
to immutable
--------------------------------------------------------------+-------------
        Reporter:  neumann                                    |         Owner:  nobody
            Type:  bug                                        |        Status:  new   
        Priority:  critical: causes crash or data corruption  |     Milestone:        
       Component:  Data Provider                              |       Version:  HEAD  
      Resolution:                                             |      Keywords:        
Platform_version:                                             |      Platform:  All   
        Must_fix:  No                                         |   Status_info:  0     
--------------------------------------------------------------+-------------
Comment (by neumann):

 Further investigation shows that it has to do with the Postgis provider
 and the_geom column. Attributes/columns before the_geom work fine, but
 attributes that come after the geometry column in the table definition are
 offset by one. This results in an invalid index at the end of the
 attributes list and thus in the crash.

-- 
Ticket URL: <https://trac.osgeo.org/qgis/ticket/1935#comment:2>
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