Bug report #12488
Impossible to merge features in a point shapefile
|Affected QGIS version:||2.8.1||Regression?:||No|
|Operating System:||Easy fix?:||No|
|Pull Request or Patch supplied:||No||Resolution:|
|Crashes QGIS or corrupts data:||Yes||Copied to github as #:||20635|
Open and toggle to edition a point shapefile layer
select two features and click on "Merge selected features" button.
Try to save. You get an error
Could not commit changes to layer teste Errors: ERROR: 1 feature(s) not added. Provider errors: OGR error creating feature -7: Attempt to write non-point (MULTIPOINT) geometry to point shapefile.
If you cancel modifications, you lose features you were trying to merge.
Tested from QGIS 2.9 to 2.4 without success.
There is a solved issue about such error message (#10747) though it's about copy-paste point features between different layers.
TODO: check if other OGR drivers have similar restrictions.
(cherry picked from commit 8289891b78953581f22e944565e0e1c9678a09c3)