Bug report #968
don't force polygon for intersection removal when the layer is multipolygon
|Affected QGIS version:||Regression?:||No|
|Operating System:||All||Easy fix?:||No|
|Pull Request or Patch supplied:||Resolution:||fixed|
|Crashes QGIS or corrupts data:||Copied to github as #:||11027|
1. Enable "Avoid intersections of new polygons".
2. In a multipolygon PostGIS layer, digitize a feature overlapping another one.
3. Try to save changes - error:
INSERT error: ERROR: new row for relation "test_polygons" violates check constraint "enforce_geotype_the_geom"
Most likely QGIS makes a polygon during intersection removal although the layer has a multipolygon constraint. QGIS should make a multipolygon in such case.