Opened 16 years ago

Closed 16 years ago

Last modified 15 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 by msieczka, 16 years ago

For the record: talking about QGIS SVN r8189.

comment:2 by msieczka, 16 years ago

Still valid as of r8352.

comment:3 by mhugent, 16 years ago

Resolution: fixed
Status: newclosed

A fix for this bug is in r8357

comment:4 by (none), 15 years ago

Milestone: Version 0.9.2

Milestone Version 0.9.2 deleted

Note: See TracTickets for help on using tickets.