Bug report #20020
Geopackage avoid intersection allow no geometry
|Affected QGIS version:
|Pull Request or Patch supplied:
|Crashes QGIS or corrupts data:
|Copied to github as #:
Digitizing or copy/paste in a geopackage layer with 'avoid intersection' on.
If I paste features in a polygon layer and one or more features with totally overlap (are duplicate) Geopackage allows insert in attribute table without a geometry. Result: 'Could not commit changes to layer'
#1 Updated by Alessandro Pasotti over 5 years ago
- Status changed from Open to Feedback
I'm not sure about the expected behavior: when copy-pasting, I would expect that even if geometry is not compatible or it is nullified by the avoid intersection filter, the attributes were copied successfully in the destination layer, in case I wanted to re-digitize or fix the geometries.
What do you think is the expected behavior in such a situation?