Bug report #968

don't force polygon for intersection removal when the layer is multipolygon

Added by Maciej Sieczka - about 16 years ago. Updated over 14 years ago.

Status:Closed
Priority:Low
Assignee:nobody -
Category:Digitising
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

Description

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.

History

#1 Updated by Maciej Sieczka - about 16 years ago

For the record: talking about QGIS SVN .

#2 Updated by Maciej Sieczka - about 16 years ago

Still valid as of b5286872 (SVN r8353).

#3 Updated by Marco Hugentobler about 16 years ago

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

A fix for this bug is in 16331cf6 (SVN r8358)

#4 Updated by Anonymous over 14 years ago

Milestone Version 0.9.2 deleted

Also available in: Atom PDF