Bug report #17019
Off-line editing does not work with WFS-T layers with mixed simple and multi geoms
|Category:||C++ plugins/Offline editing|
|Affected QGIS version:||master||Regression?:||Yes|
|Operating System:||Easy fix?:||No|
|Pull Request or Patch supplied:||No||Resolution:|
|Crashes QGIS or corrupts data:||No||Copied to github as #:||24918|
On 2.18.11 nightly the error is
"Offline Editing Plugin: ERROR: 244 feature(s) not added - geometry type is not compatible with the current layer."
On master trying to put off line the same layer results in a complete freeze.
#2 Updated by Alessandro Pasotti over 2 years ago
- Affected QGIS version changed from 2.18.11 to master
- Subject changed from Off-line editing does not work for WFS-T layers from QGIS Server to Off-line editing does not work with WFS-T layers with mixed simple and multi geoms
For example, with the world layer from
QGIS Server Docker to reproduce the issue:
docker pull elpaso/qgis-server-docker
#4 Updated by Alessandro Pasotti over 2 years ago
I would probably close as won't fix for now. I guess we should open another ticket on the WFS provider to implement a more robust algorhitm to determine the correct wkbType in case the server does not report enough information about the geometry type.