Bug report #875
crash when saving to shapefile PostGIS layer with missing geoms
| Status: | Closed | ||
|---|---|---|---|
| Priority: | Low | ||
| Assignee: | |||
| Category: | Data Provider | ||
| Affected QGIS version: | Regression?: | No | |
| Operating System: | Debian | Easy fix?: | No |
| Pull Request or Patch supplied: | Resolution: | fixed | |
| Crashes QGIS or corrupts data: | Copied to github as #: | 10934 |
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.
History
#1
Updated by Martin Dobias almost 18 years ago
What is the expected behaviour? Ignore records without geometry?
Martin
#2
Updated by Jürgen Fischer over 17 years ago
- Resolution set to fixed
- Status changed from Open to Closed
looks like #957
#3 Updated by Anonymous about 16 years ago
Milestone Version 0.9.2 deleted