Add part allows creating multipart geometries to single polygon layer when using avoid overlap
Author: maikkishCreated Oct 1, 2026Updated Oct 1, 2026
LabelsBug
### What is the bug or the crash?
I have a single polygon type layer with a feature that has no geometry. I want to digitize its geometry with add part tool. I also have a separate "mask" layer that has been set to avoid overlaps, so that the new geometries get automatically cut with the mask layer features. When I select the no-geometry feature from the attribute table and use add part tool to digitize the geometry over the mask layer, so that the avoid overlap setting would create a multipart geometry, QGIS allows the geometry to be created, even though the layer is not multipolygon type layer.
### Steps to reproduce the issue
1. Have a single polygon type layer (digitizing layer) with a feature that has no geometry and another polygon layer (mask layer) that has features with geometries, and that has been set to avoid overlaps
2. Select the no-geometry feature in the digitizing layer attribute table and use add part to digitize the geometry so that the mask layer would split the resulting geometry
3. See that QGIS allows the multipart geometry to be created even though the digitizing layer type is single polygon
### Versions
### Supported QGIS version
- [x] I'm running a supported QGIS version according to [the roadmap](https://www.qgis.org/en/site/getinvolved/development/roadmap.html#release-schedule).
### New profile
- [x] I tried with a new [QGIS profile](https://docs.qgis.org/latest/en/docs/user_manual/introduction/qgis_configuration.html#working-with-user-profiles)
### No Duplicate of the Issue
- [x] I have verified that there are no existing issues raised related to my problem.
### Additional context
_No response_
| QGISin versio | 4.2.3-Belém do Pará |
| QGIS-koodin versio | b041a18904a |
| Kirjastot | |
| Qt:n versio | 6.11.1 |
| Python-versio | 3.12.14 |
| GDAL version | 3.13.3 — Iowa City |
| PROJ-versio | 9.8.1 |
| EPSG-rekisteritietokannan versio | v12.029 (2025-10-02) |
| GEOS-versio | 3.15.0-CAPI-1.21.0 |
| SFCGAL version | 2.3.0 |
| GeographicLib version | 2.7.0 |
| SQLite-versio | 3.53.4 |
| PDAL-versio | 2.10.0 |
| PostgreSQL:n asiakkaan versio | 18.6 |
| SpatiaLite-versio | 5.1.0 |
| QWT-versio | 6.3.0 |
| QScintilla2-versio | 2.14.1 |
| OpenGL version | Ei tuettu |
| Käyttöjärjestelmän versio | Windows Server 2022 Version 21H2 |
| Aktiiviset python-lisäosat | |
| MetaSearch | 0.3.6 |
| db_manager | 0.1.20 |
| grassprovider | 2.12.99 |
| processing | 2.12.99 |
Source: qgis/QGIS