Bug report #6534

Spatialite provider doesn't setFeatureId after adding features

Added by René-Luc ReLuc almost 7 years ago. Updated almost 7 years ago.

Status:Closed
Priority:Normal
Assignee:Giuseppe Sucameli
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

6534 - setFeatureId after insert feature (555 Bytes) René-Luc ReLuc, 2012-10-18 12:33 AM

Associated revisions

Revision faf46b61
Added by Giuseppe Sucameli almost 7 years ago

update feature id of added features (fix #6534)

History

#1 Updated by René-Luc ReLuc almost 7 years ago

#2 Updated by Giovanni Manghi almost 7 years ago

  • Pull Request or Patch supplied changed from No to Yes

#3 Updated by Giuseppe Sucameli almost 7 years ago

  • Status changed from Open to Closed

#4 Updated by Giuseppe Sucameli almost 7 years ago

  • Resolution set to fixed
  • Assignee set to Giuseppe Sucameli

Patch applied, thanks.

Also available in: Atom PDF