Bug report #7098

QGIS forms invalid WFS request when partially formed

Added by Jonathan Moules about 11 years ago. Updated about 5 years ago.

Category:Web Services clients/WFS
Affected QGIS version:master Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:end of life
Crashes QGIS or corrupts data:No Copied to github as #:16179


When setting up a WFS request, and entering a URL, I entered this (for testing purposes):


It turns out the request QGIS is sending to the server is:


Note that "version" is in there twice.

If I manually set service:

I get a Java error (attached).

I realise I'm not doing it "right", but QGIS should still be able to handle these cases properly, as there's no reason the user can't specify those two parameters (they're always going to be the same after all).

Using NextGIS built from master.

Clipboard04.jpg (17.9 KB) Jonathan Moules, 2013-02-04 09:04 AM


#1 Updated by Jürgen Fischer about 11 years ago

  • Category set to Web Services clients/WFS

#2 Updated by Marco Hugentobler about 11 years ago

Hm, that would probably mean testing the base urls against a parameter list (also in WMS, WCS). Imagine a user that enters a BBOX parameter in a WMS base url...

#3 Updated by Jonathan Moules about 11 years ago

The options are probably:

1 Cut the URL back to the bit before the ? and accept none of the parameters.
2 Keep some parameters
3 Keep all parameters

I'd be inclined to suggest (2) - keep "version" if specified but not the rest. This way the user can specify which version of WMS/WFS/WCS to use if they want.

#4 Updated by Giovanni Manghi almost 7 years ago

  • Regression? set to No
  • Easy fix? set to No

#5 Updated by Giovanni Manghi about 5 years ago

  • Resolution set to end of life
  • Status changed from Open to Closed

Also available in: Atom PDF