Bug report #3604
paste doesn't convert geometry or give error on incompatible geometry
|Affected QGIS version:
|Pull Request or Patch supplied:
|Crashes QGIS or corrupts data:
|Copied to github as #:
For example, I'm working in a PostGIS multipolygon layer. I copy a polygon (not multi) from a shapefile and paste it into the postGIS layer. QGIS doesn't give me a warning or convert the polygon to a multipolygon, and editing works fine on the feature. But when I try to save the PostGIS layer, QGIS now gives me an error that there is an invalid geometry type and a feature wasn't saved (the one I pasted in).
I would like it to convert the polygon to multipolygon, and other simple conversions. But at least QGIS should refuse to paste and give a warning about a geometry mismatch.