Opened 16 years ago

Closed 16 years ago

Last modified 15 years ago

#875 closed bug (fixed)

crash when saving to shapefile PostGIS layer with missing geoms

Reported by: pcavallini Owned by: mhugent
Priority: critical: causes crash or data corruption Milestone:
Component: Data Provider Version: Trunk
Keywords: postgis Cc: venturato@…
Must Fix for Release: No Platform: Debian
Platform Version: Awaiting user input: no

Description

When saving as shapefile a postgis layer, we get: /qgis-0.9~svn20071216/src/core/qgsvectorfilewriter.cpp:176: OGRGeometry* QgsVectorFileWriter::createEmptyGeometry(QGis::WKBTYPE): Asserzione `0 && "invalid WKB type"' fallita. and qgis crashes. This happens when some record does not have a geometry.

Change History (3)

comment:1 by wonder, 16 years ago

What is the expected behaviour? Ignore records without geometry?

Martin

comment:2 by jef, 16 years ago

Resolution: fixed
Status: newclosed

looks like #957

comment:3 by (none), 15 years ago

Milestone: Version 0.9.2

Milestone Version 0.9.2 deleted

Note: See TracTickets for help on using tickets.