[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:51:28 EDT 2009


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

  * status:  new => closed
  * resolution:  => fixed

Comment:

 Replying to [comment:2 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.

 right, fixed in r11704.

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