Bug report #6060

QGIS 1.8 Split Features doesn't work as in 1.7

Added by luca76 - over 12 years ago. Updated over 11 years ago.

Status:Closed
Priority:Severe/Regression
Assignee:-
Category:Digitising
Affected QGIS version:1.8.0 Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:
Crashes QGIS or corrupts data:Yes Copied to github as #:15422

Description

Hi,

I have a postgres table of lines (see attachment).

In QGIS 1.7 I can split them perfectly.

In QGIS 1.8 I can do it too, but when I save changes I noticed that QGIS 1.8 uses the same primary keys in all splitted features (so Postgres complains that it violates Primary Key rule).

I noticed that my table has primary key as last column, while other tables with it at first position do the work.

table_bug.sql.bz2 - sample table with problem (340 KB) luca76 -, 2012-07-18 05:07 AM


Related issues

Related to QGIS Application - Bug report #5758: Primary key issue when using merge attributes of selected... Closed 2012-06-07
Related to QGIS Application - Bug report #7550: Split feature on spatialite layers with primary key error Closed 2013-04-08

Associated revisions

History

#1 Updated by Jürgen Fischer over 12 years ago

  • Status changed from Open to Closed

#2 Updated by Jürgen Fischer over 11 years ago

Jürgen Fischer wrote:

Fixed in changeset cb1e7d3f6b0864d1b448b52e7ccb49faaad20f63.

Better fix in 2a002c558e9

Also available in: Atom PDF