#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.
Note:
See TracTickets
for help on using tickets.
What is the expected behaviour? Ignore records without geometry?
Martin