Bug report #16770
copy/paste/save features from one layer to another of the same time broke in 2.18
|Affected QGIS version:||2.18.10||Regression?:||Yes|
|Operating System:||Easy fix?:||No|
|Pull Request or Patch supplied:||No||Resolution:|
|Crashes QGIS or corrupts data:||No||Copied to github as #:||24669|
Copy an oject from one Layer and insert this object inot another layer works. Saving this changes in the layer fails and qgis reports "Commit errors: Could not commit changes to layer 2_18_10_copyobjectto", open the complete error message result is:
"Could not commit changes to layer 2_18_10_copyobjectto
Errors: ERROR: 1 feature(s) not added - geometry type is not compatible with the current layer."
Both shape layer are polygons, created with QGIS2.18.10
Testproject with layers are attached, also screenshots.
#2 Updated by Giovanni Manghi almost 3 years ago
- Subject changed from shape, copy objects from one layer and insert into another layer fails, QGIS 2.18.10 reports ERROR: 1 feature(s) not added - geometry type is not compatible with the current layer. to copy/paste/save features from one layer to another of the same time broke in 2.18
- Operating System deleted (
- Regression? changed from No to Yes
Regression, worked as expected in 2.14
#6 Updated by Hynek Suchy almost 3 years ago
I can confirm the issue.
I have installed QGIS 2.18.10 on Windows 10 machine.
Objects which I was copying were lines in ESRI shapefiles, (actually I have imported dxf file into QGIS and then trying to copy lines into existing shapefile).
Copying objects from one layer to the other was completed succesfully but on saving layer, there was error message something like: feature(s) not added - geometry type is not compatible with the current layer and I wasn't able to save changes to layer.
After that I switched back to 2.18.9. and there everything works fine.