Copy / Paste PostGIS features problem #19630
Labels
Bug
Either a bug report, or a bug fix. Let's hope for the latter!
Data Provider
Related to specific vector, raster or mesh data providers
Milestone
Author Name: Pedro Venâncio (Pedro Venâncio)
Original Redmine Issue: 11336
Affected QGIS version: master
Redmine category:data_provider/postgis
Assignee: Jürgen Fischer
When trying to copy features from a PostGIS layer in QGIS master to another, in the moment of pasting to the destination layer, I get the warning message "Paste features: no features could be succesfully pasted.", however it does not show the reason.
In previous versions (2.2 and 2.4), QGIS handled this issue differently. It allowed pasting and only when saving showed the error message with details (violation of the unique constraint on the primary key field).
Even more strange... "Paste features: no features could be successfully pasted." warning only appears when selecting more than one feature. Please see the screencast:
https://dl.dropboxusercontent.com/u/5772257/qgis/copy_paste/qgis_copy_paste.avi
Test data: https://dl.dropboxusercontent.com/u/5772257/qgis/copy_paste/tables2.sql
I also tested this with points, multipoints, and Multipolygons, and the same happens.
More details and discussion: http://osgeo-org.1560.x6.nabble.com/PostGIS-warning-details-in-QGIS-master-td5165271.html
Related issue(s): #19687 (relates), #20734 (relates)
Redmine related issue(s): 11408, 12616
The text was updated successfully, but these errors were encountered: