-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
WFS connection manager: GetCapabilities document's URLs not being used consistently #45242
Closed
2 tasks done
Labels
Comments
Could you provide a URL to a server that demonstrates the issue ? |
@rouault I can provide one privately, do you have an email I could send it to? |
even.rouault at spatialys.com |
Thanks, I've sent an email |
#45267 fixes the 2 issues with the test server provided privately |
rouault
added a commit
that referenced
this issue
Sep 27, 2021
[WFS provider] Honour DCP HTTP URLs for transactions and SQL query builder (fixes #45242)
qgis-bot
pushed a commit
that referenced
this issue
Sep 27, 2021
espinafre
pushed a commit
to espinafre/QGIS
that referenced
this issue
Sep 29, 2021
elpaso
added a commit
that referenced
this issue
Oct 1, 2021
…ports [Backport queued_ltr_backports] [WFS provider] Honour DCP HTTP URLs for transactions and SQL query builder (fixes #45242)
nyalldawson
pushed a commit
that referenced
this issue
Nov 1, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
What is the bug or the crash?
If you are using a GetCapabilities endpoint that proxies to GeoServer, and you add a layer with the WFS connection manager the majority of URLs (GetFeature, DescribeFeatureType, etc) are using the URLs in the document as expected. But if you open the attribute table and try to edit some data, it will try to use the proxy URL to make the post request.
Additionally if you double click a layer in the WFS connection manager it will make a DescribeFeatureType request and attempt to use the proxy URL for that as well.
I have used the 'QGIS Network Logger' plugin to observe the requests being made:
![image](https://user-images.githubusercontent.com/91317126/134659946-4f57c5d8-d0fc-48ce-b981-e3773a50f826.png)
You can see in the request list it's generally calling the raw geoserver endpoint which is as expected, except when it attempts to make the post request and then tries to use the URL entered for the connection.
Steps to reproduce the issue
Post request issue:
DescribeFeatureType issue:
Versions
3.20.3-Odense
Supported QGIS version
New profile
Additional context
Also tried this on 3.12.3 before updating to 3.20.3 to see if the issue was present in the later version.
The text was updated successfully, but these errors were encountered: