Bug report #11336
Copy / Paste PostGIS features problem
|Affected QGIS version:||master||Regression?:||No|
|Operating System:||Easy fix?:||No|
|Pull Request or Patch supplied:||No||Resolution:|
|Crashes QGIS or corrupts data:||No||Copied to github as #:||19630|
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:
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