Bug report #20301

Off-Line editing should NOT ask to fill manually the PK field

Added by Giovanni Manghi over 5 years ago. Updated over 5 years ago.

Status:Open
Priority:High
Assignee:-
Category:C++ plugins/Offline editing
Affected QGIS version:3.4.0 Regression?:Yes
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:
Crashes QGIS or corrupts data:No Copied to github as #:28122

Description

QGIS 2.18:

add a postgis layer
put it in off-line mode
edit it (add feature) > is NOT asked to fill (not mandatory) the field that represent the PK in pgsql
synchronize it back > all OK (the new feature is given a proper value for the PK field)

QGIS 3.4:

add a postgis layer
put it in off-line mode (spatialite or geopackage)
edit it (add feature) > the field that represent the PK is marked as mandatory and the user must fill it manually to be able to synchronize back. This of course can cause errors.

Also when using GPKG: #20276


Related issues

Related to QGIS Application - Bug report #20276: Off-Line editing: attributes are shifted when using GPKG ... Closed 2018-10-30

History

#1 Updated by Jürgen Fischer over 5 years ago

  • Description updated (diff)

#2 Updated by Jürgen Fischer over 5 years ago

  • Related to Bug report #20276: Off-Line editing: attributes are shifted when using GPKG as off-line format added

Also available in: Atom PDF