Opened 12 years ago

Closed 12 years ago

Last modified 11 years ago

#968 closed bug (fixed)

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

Reported by: msieczka Owned by: nobody
Priority: critical: causes crash or data corruption Milestone:
Component: Digitising Version: Trunk
Keywords: Cc:
Must Fix for Release: Yes Platform: All
Platform Version: Awaiting user input: no

Description

  1. Enable "Avoid intersections of new polygons".
  1. In a *multipolygon* PostGIS layer, digitize a feature overlapping another one.
  1. 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.

Change History (4)

comment:1 Changed 12 years ago by msieczka

For the record: talking about QGIS SVN r8189.

comment:2 Changed 12 years ago by msieczka

Still valid as of r8352.

comment:3 Changed 12 years ago by mhugent

Resolution: fixed
Status: newclosed

A fix for this bug is in r8357

comment:4 Changed 11 years ago by (none)

Milestone: Version 0.9.2

Milestone Version 0.9.2 deleted

Note: See TracTickets for help on using tickets.