[QGIS-trac] Re: [Quantum GIS] #1884: addFeatures don't work for
SpatiaLite layer
Quantum GIS
qgis at qgis.org
Wed Aug 19 11:07:18 EDT 2009
#1884: addFeatures don't work for SpatiaLite layer
-----------------------------------------------------+----------------------
Reporter: alexbruy | Owner: nobody
Type: bug | Status: closed
Priority: major: does not work as expected | Milestone: Version 1.2.0
Component: Data Provider | Version: HEAD
Resolution: fixed | Keywords: spatialite, addFeatures
Platform_version: | Platform: Windows
Must_fix: No | Status_info: 0
-----------------------------------------------------+----------------------
Changes (by jef):
* status: new => closed
* resolution: => fixed
Comment:
fixed in r11438
Although that doesn't fix problems in your data model/plugin. You have
several columns with NOT NULL constraints on them and don't assign any
values. You also have a primary key column, that you don't initialize.
If you have an own primary key, you need to initialize it.
--
Ticket URL: <http://trac.osgeo.org/qgis/ticket/1884#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