Bug report #20271

WMS is not displayed in QGIS 3.4.0 Madeira

Added by Dirk Wölfel almost 2 years ago. Updated almost 2 years ago.

Status:Closed
Priority:High
Assignee:Alessandro Pasotti
Category:Web Services clients/WMS
Affected QGIS version:3.4.0 Regression?:Yes
Operating System: Easy fix?:No
Pull Request or Patch supplied:Yes Resolution:
Crashes QGIS or corrupts data:No Copied to github as #:28092

Description

A working WMS is no longer displayed under QGIS 3.4.0. The same service works fine under 3.2.3.

Under 3.4.0 only the legend is shown. However, the actual service is not displayed.

Example link:
https://www.wms.nrw.de/geobasis/wms_nw_dtk


Related issues

Duplicated by QGIS Application - Bug report #20311: Bad request for WMS (STYLES) Closed 2018-11-01

Associated revisions

Revision 94aa628e
Added by Alessandro Pasotti almost 2 years ago

[wms] Do not pass null QStrings to QgsWmsProvider::setQueryItem

Fix #20271 - WMS is not displayed in QGIS 3.4.0

With test

Revision b6f2bae3
Added by Alessandro Pasotti almost 2 years ago

[wms] Do not pass null QStrings to QgsWmsProvider::setQueryItem

Fix #20271 - WMS is not displayed in QGIS 3.4.0

With test

Cherry-picked from 94aa628e3e94e5998ba762810e19be104c0f820b

History

#1 Updated by Stefan Overkamp almost 2 years ago

Same with https://www.wms.nrw.de/geobasis/wms_nw_dop.

The wms protocol window shows "...&STYLES&FORMAT=..." instead of "...&STYLES=&FORMAT=..."
Seems the "=" character is missing in QGIS 3.4 if no default style is assigned.
Choosing the default layer (ID 4 in wms_nw_dop) displays the wms image.

#3 Updated by Giovanni Manghi almost 2 years ago

  • Operating System deleted (Windows 7 Professional)

#4 Updated by Alessandro Pasotti almost 2 years ago

  • Assignee set to Alessandro Pasotti

#5 Updated by Alessandro Pasotti almost 2 years ago

  • Status changed from Open to In Progress
  • Pull Request or Patch supplied changed from No to Yes

#6 Updated by Anonymous almost 2 years ago

  • Status changed from In Progress to Closed
  • % Done changed from 0 to 100

#7 Updated by Alessandro Pasotti almost 2 years ago

Also available in: Atom PDF