Bug report #4952

Auto-incremental keys should not be left editable in SpatiaLite

Added by Paolo Cavallini almost 13 years ago. Updated almost 7 years ago.

Status:Closed
Priority:Normal
Assignee:-
Category:Digitising
Affected QGIS version:master Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:fixed/implemented
Crashes QGIS or corrupts data:No Copied to github as #:14748

Description

While adding features, the pkey field is empty, so the user is tempted to fill it. Obviously this is overwritten upon commit, but this behaviour is confusing. Better not sow it, best show it with the correct auto-incrementing value.

4952.patch Magnifier (1012 Bytes) Arunmozhi P, 2012-03-10 06:48 AM

History

#1 Updated by Arunmozhi P over 12 years ago

Added patch. Skips pkuid for spatialite layers.

#2 Updated by Paolo Cavallini over 12 years ago

  • Target version set to Version 2.0.0

#3 Updated by Jürgen Fischer over 10 years ago

  • Target version changed from Version 2.0.0 to Future Release - Lower Priority

#4 Updated by Giovanni Manghi over 7 years ago

  • Regression? set to No
  • Easy fix? set to No

#5 Updated by Paolo Cavallini almost 7 years ago

  • Resolution set to fixed/implemented
  • Status changed from Open to Closed

fixed in QGIS 3

Also available in: Atom PDF