Bug report #6534
Spatialite provider doesn't setFeatureId after adding features
| Status: | Closed | ||
|---|---|---|---|
| Priority: | Normal | ||
| Assignee: | |||
| Category: | Data Provider | ||
| Affected QGIS version: | master | Regression?: | No |
| Operating System: | Easy fix?: | No | |
| Pull Request or Patch supplied: | Yes | Resolution: | fixed |
| Crashes QGIS or corrupts data: | No | Copied to github as #: | 15745 |
Description
During the implementation of QGIS WFS Server Transaction Request #6533, I discover that the Spatialite Provider doesn't update the FeatureId of added features.
The solution is to query the last_insert_rowid and setFeatureId
Associated revisions
update feature id of added features (fix #6534)
History
#1
Updated by René-Luc ReLuc about 13 years ago
- File 6534 added
#2
Updated by Giovanni Manghi about 13 years ago
- Pull Request or Patch supplied changed from No to Yes
#3
Updated by Giuseppe Sucameli about 13 years ago
- Status changed from Open to Closed
Fixed in changeset faf46b61a4654a600fb4ccd587ffbf7e2d60f2a1.
#4
Updated by Giuseppe Sucameli about 13 years ago
- Resolution set to fixed
- Assignee set to Giuseppe Sucameli
Patch applied, thanks.