Bug report #11322
Cannot copy/paste Spatialite features (when using autoincrementing primary key)
Status: | Closed | ||
---|---|---|---|
Priority: | Severe/Regression | ||
Assignee: | - | ||
Category: | Data Provider/SpatiaLite | ||
Affected QGIS version: | master | Regression?: | No |
Operating System: | Easy fix?: | No | |
Pull Request or Patch supplied: | No | Resolution: | |
Crashes QGIS or corrupts data: | No | Copied to github as #: | 19618 |
Description
When using a SL layer with autoincrementing primary key copy/paste of features fails on save:
SQLite error: UNIQUE constraint failed: layename.pkuid
It worked as expected until 2.0.1 (stopped since 2.2).
Associated revisions
skip primary key column when pasting to spatialite layers (fixes #11322)
History
#1 Updated by Jürgen Fischer about 10 years ago
- Status changed from Open to Closed
Fixed in changeset 42d915ef0f03e4f5fde04353a880e7ffaeeb4365.