Bug report #3908
WMS Identify fails on mixed queryable/non-queryable sublayers
|Assignee:||Brendan Morley -|
|Category:||Web Services clients/WMS|
|Affected QGIS version:||Regression?:||No|
|Operating System:||All||Easy fix?:||No|
|Pull Request or Patch supplied:||Resolution:||fixed|
|Crashes QGIS or corrupts data:||Copied to github as #:||13932|
The identify tool is disabled if all WMS layers from a server have queryable=0, which is fine. However if some layers are queryable=1, the identify tool is enabled, which is also fine.
However if somebody uses the Identify tool in the second scenario, the query back to the server currently queries on all visible layers, not just the queryable=1 ones. This results in an error back from the WMS server.
Resolution would be to filter the list of layers sent to the server so that only the queryable=1 subset is sent.