Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Copy / Paste PostGIS features problem #19630

Closed
qgib opened this issue Oct 5, 2014 · 1 comment
Closed

Copy / Paste PostGIS features problem #19630

qgib opened this issue Oct 5, 2014 · 1 comment
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

Comments

@qgib
Copy link
Contributor

qgib commented Oct 5, 2014

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.

image

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).

image
image

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


@qgib
Copy link
Contributor Author

qgib commented Oct 15, 2014

Author Name: Jürgen Fischer (@jef-n)


Fixed in changeset "d1e23a608a2e5f8e043e68e53910acb9e854bbd1".


  • status_id was changed from Open to Closed

@qgib qgib added 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 labels May 25, 2019
@qgib qgib added this to the Version 2.6 milestone May 25, 2019
@qgib qgib closed this as completed May 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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
Projects
None yet
Development

No branches or pull requests

1 participant