Bug report #20301

Updated by Jürgen Fischer about 6 years ago

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 https://issues.qgis.org/issues/20276

Back