-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Missing Update operation for WFS layers without geometry #60185
Comments
I cannot reproduce and I think I need more details about the aspatial layer you are testing with (can you attach a small/minimal sample?) |
Steps to reproduce the issue:
with_geom
without_geom
|
@gisuser0 for the record, the fact that you were using postgres was the missing information to be able to reproduce the issue. |
Thx for the fix |
It seems like the missing check qgswfstransaction.cpp
Should this solve it?
|
@gisuser0 yes: that needs the same changes, I am sorry: I only checked the getcapabilities and I assumed the transaction part was ok. I will make another PR for that. |
Not a critical change but more precise check in case of aspatial layers. Followup qgis#60266 Related to qgis#60185
What is the bug or the crash?
Only Query, Insert and Delete are allowed for WFS layers without geometry. The Update operation is not available.
Steps to reproduce the issue
Versions
3.34.14 LTR (Windows and Linux)
3.40.2 (Windows and Linux)
Supported QGIS version
New profile
Additional context
Looking into the code it seems like the Update operation always requires the change geometry capability (Qgis::VectorProviderCapability::ChangeGeometries)
The text was updated successfully, but these errors were encountered: