qgis / QGIS

QGIS is a free, open source, cross platform (lin/win/mac) geographical information system (GIS)
https://qgis.org
GNU General Public License v2.0
10.04k stars 2.92k forks source link

Editing WCS or WFS connections URL on Browser does not take effect #53858

Open PedroVenancio opened 11 months ago

PedroVenancio commented 11 months ago

What is the bug or the crash?

Editing a WCS or WFS connections URL on Browser does not take an effective change on connection configuration, unlike what happens with WMS or ArcGIS REST connections.

Steps to reproduce the issue

To reproduce:

  1. In Browser, create a New WCS Connection, for instance with Name: ISRIC URL: https://maps.isric.org/mapserv?map=/map/nitrogen.map

and open the new connection:

imagem

  1. Edit the connection, keep the Name and change the URL to https://maps.isric.org/mapserv?map=/map/clay.map

  2. You can see that the new URL was saved, but when you do Refresh in the connection, the request made to the server keeps being to the old URL: https://maps.isric.org/mapserv?map=/map/nitrogen.map

imagem

  1. If you edit the connection again and change the connection Name, the edit already take effect and the request to the server is the new one:

imagem

This happens with WCS and WFS connections, but not with WMS or ArcGIS REST, where the URL edits take effect.

Doing these URL editions to WCS and WFS in Data Source Manager, instead of in Browser, the changes take effect. So this only happens in Browser.

Versions

QGIS version | 3.28.8-Firenze | QGIS code revision | 5ac45272b58 -- | -- | -- | -- Qt version | 5.15.3 Python version | 3.9.5 GDAL/OGR version | 3.7.0 PROJ version | 9.2.1 EPSG Registry database version | v10.088 (2023-05-13) GEOS version | 3.11.2-CAPI-1.17.2 SQLite version | 3.41.1 PDAL version | 2.5.3 PostgreSQL client version | unknown SpatiaLite version | 5.0.1 QWT version | 6.1.6 QScintilla2 version | 2.13.1 OS version | Windows 10 Version 2009   |   |   |   Active Python plugins active_fire | 0.3 AemetOpenDataDownloader | 0.1 ArrNorm | 23.4b attributeBasedClustering | 2.2.1 BackupLayer | 0.3 buffer_without_overlaps | 0.2 cartography_tools | 1.2.1 clusterpoints | 5.1 ContrastHomogenizer | 3.2 Coregistration | 22.5.19 crayfish | 3.6.0 d3datavis | 3.0.5 DataPlotly | 4.0.3 densityanalysis | 2023.7.13 downloadgeostatportugal | 0.2 DSGTools_Op | 2.2.0 dzetsaka | 3.70 ee_plugin | 0.0.6 export_to_sql_server | 0.4 FreehandRasterGeoreferencer | 0.8.3 geetimeseriesexplorer | 2.0 GeoCoding | 2.19 getools | 1.0.0 go2streetview | 8.6 gribdownloader | 0.5 GroupStats | 2.2.7 HCMGIS | 23.2.1 Hqgis | 1.1.1 inspireatomclient | 0.8.1 kmltools | 3.1.29 layer2kmz-processing | 2.0.0 LecoS | 3.0.1 loadthemall | 3.3.0 localmaxfilter | 1.5.7 lrs | 1.2.3 mapswipetool_plugin | 1.2 mmqgis | 2021.9.10 MultiDistanceBuffer | 3.2.4 nominatim_locator_filter | 0.2.4 ntv2_transformations | 0.20 OSMDownloader | 1.0.3 photo2shape | 3.0 pointsamplingtool | 0.5.4 postgis_geoprocessing | 0.9 PotentialSlopeFailure | 0.6 processing_gnm | 0.2.0 processing_js | 1.0.5 ProcessX | 1.5 profiletool | 4.2.6 qchainage | 3.0.1 qconsolidate | 1.1.0 qfieldsync | v4.5.0 qgis-maptiler-plugin | 3.2 Qgis2threejs | 2.7.1 qgis2web | 3.16.0 qgis_gee_data_catalog | 0.4.3 qgis_stac | 1.1.1 QNEAT3 | 1.0.5 QuickWKT | 3.1 quick_map_services | 0.19.33 raster_cutter | 0.6 raster_tracer | 0.3.3 refFunctions | 1.6 ReverseFlow | 0.2 road_slope_calculator | 0.5 SemiAutomaticClassificationPlugin | 7.10.11 sentinel2_removed_cloud_rec | 0.4 SentinelHub | 2.0.0 shapetools | 3.4.14 simplewcs2 | 0.2 SpreadsheetLayers | 2.1.0 SRTM-Downloader | 3.1.17 statist | 3.2 SwapVectorDirection | 0.9 TerrainShading | 0.9.4 timemanager | 3.6 timezone_expressions | v0.2 valuetool | 3.0.15 Video_UAV_Tracker | 2.1 ViewshedAnalysis | 1.8 VoGisProfilTool | 3.0.2 wbt_for_qgis | 1.0.9 db_manager | 0.1.20 grassprovider | 2.12.99 MetaSearch | 0.3.6 otbprovider | 2.12.99 processing | 2.12.99 sagaprovider | 2.12.99 QGIS version 3.28.8-Firenze QGIS code revision [5ac45272b58](https://github.com/qgis/QGIS/commit/5ac45272b58) Qt version 5.15.3 Python version 3.9.5 GDAL/OGR version 3.7.0 PROJ version 9.2.1 EPSG Registry database version v10.088 (2023-05-13) GEOS version 3.11.2-CAPI-1.17.2 SQLite version 3.41.1 PDAL version 2.5.3 PostgreSQL client version unknown SpatiaLite version 5.0.1 QWT version 6.1.6 QScintilla2 version 2.13.1 OS version Windows 10 Version 2009 Active Python plugins active_fire 0.3 AemetOpenDataDownloader 0.1 ArrNorm 23.4b attributeBasedClustering 2.2.1 BackupLayer 0.3 buffer_without_overlaps 0.2 cartography_tools 1.2.1 clusterpoints 5.1 ContrastHomogenizer 3.2 Coregistration 22.5.19 crayfish 3.6.0 d3datavis 3.0.5 DataPlotly 4.0.3 densityanalysis 2023.7.13 downloadgeostatportugal 0.2 DSGTools_Op 2.2.0 dzetsaka 3.70 ee_plugin 0.0.6 export_to_sql_server 0.4 FreehandRasterGeoreferencer 0.8.3 geetimeseriesexplorer 2.0 GeoCoding 2.19 getools 1.0.0 go2streetview 8.6 gribdownloader 0.5 GroupStats 2.2.7 HCMGIS 23.2.1 Hqgis 1.1.1 inspireatomclient 0.8.1 kmltools 3.1.29 layer2kmz-processing 2.0.0 LecoS 3.0.1 loadthemall 3.3.0 localmaxfilter 1.5.7 lrs 1.2.3 mapswipetool_plugin 1.2 mmqgis 2021.9.10 MultiDistanceBuffer 3.2.4 nominatim_locator_filter 0.2.4 ntv2_transformations 0.20 OSMDownloader 1.0.3 photo2shape 3.0 pointsamplingtool 0.5.4 postgis_geoprocessing 0.9 PotentialSlopeFailure 0.6 processing_gnm 0.2.0 processing_js 1.0.5 ProcessX 1.5 profiletool 4.2.6 qchainage 3.0.1 qconsolidate 1.1.0 qfieldsync v4.5.0 qgis-maptiler-plugin 3.2 Qgis2threejs 2.7.1 qgis2web 3.16.0 qgis_gee_data_catalog 0.4.3 qgis_stac 1.1.1 QNEAT3 1.0.5 QuickWKT 3.1 quick_map_services 0.19.33 raster_cutter 0.6 raster_tracer 0.3.3 refFunctions 1.6 ReverseFlow 0.2 road_slope_calculator 0.5 SemiAutomaticClassificationPlugin 7.10.11 sentinel2_removed_cloud_rec 0.4 SentinelHub 2.0.0 shapetools 3.4.14 simplewcs2 0.2 SpreadsheetLayers 2.1.0 SRTM-Downloader 3.1.17 statist 3.2 SwapVectorDirection 0.9 TerrainShading 0.9.4 timemanager 3.6 timezone_expressions v0.2 valuetool 3.0.15 Video_UAV_Tracker 2.1 ViewshedAnalysis 1.8 VoGisProfilTool 3.0.2 wbt_for_qgis 1.0.9 db_manager 0.1.20 grassprovider 2.12.99 MetaSearch 0.3.6 otbprovider 2.12.99 processing 2.12.99 sagaprovider 2.12.99 ### Supported QGIS version - [X] I'm running a supported QGIS version according to [the roadmap](https://www.qgis.org/en/site/getinvolved/development/roadmap.html#release-schedule). ### New profile - [X] I tried with a new [QGIS profile](https://docs.qgis.org/latest/en/docs/user_manual/introduction/qgis_configuration.html#working-with-user-profiles) ### Additional context _No response_
kevin-pease commented 10 months ago

Hi, I'd love to try and fix this bug. I've read the docs and guidelines, can I just go ahead and create a pull request when I'm finished? Thanks!

elpaso commented 10 months ago

Hi, I'd love to try and fix this bug. I've read the docs and guidelines, can I just go ahead and create a pull request when I'm finished? Thanks!

Of course, thank you for your help!