Interfacing with URL .../?l=xxx does not work
Closed this issue · 4 comments
mhaelsig commented
Hi,
after updating from "2023.10.12-master" to "2023.11.08-master" it seems to be that interfacing with URL (../?l=xxx) does not work anymore. How can I help to identify the base issue?
manisandro commented
Hi
Can you be more specific? From my tests the layer state is correctly restored from the URL.
mhaelsig commented
Hi,
the website https://maps.radwegplanung-muenchen.de/?l=L5 has been created with
qwc2 "2023.10.12-master". It shows the layer with the id L5. The browser log
contains the following GET request:
19:47:33.634 GET
https://maps.radwegplanung-muenchen.de/cgi-bin/qgis_mapserv.fcgi?
SERVICE=WMS&VERSION=1.3.0&REQUEST=GetMap&FORMAT=image/png;
mode=8bit&TRANSPARENT=true&LAYERS=L5&STYLES=&SRS=EPSG:3857&CRS=EPSG:
3857&TILED=false&OPACITIES=255&__t=1699555653610&WIDTH=1420&HEIGHT=903&BBOX=1244482.049835431,6111915.259890141,1319623.7165020974,6159699.009890141
[HTTP/1.1 200 OK 191ms]
The website https://test.radwegplanung-muenchen.de/?l=L5 has been created with
qwc2 "2023.11.08-master" and updated .babelrc.json, but otherwise identical
environment and QGIS project. Calling with ..?l=L5 does not show the layer -
even in different browsers. Also the above GET request is missing.
With debug=true I am not able to see differences.
I am working with QGIS-Version 3.34.0-Prizren QGIS-Codeversion ffbdd678812.
The QGIS Server is 3.34.0+17bookworm amd64.
Thank you for your time!
Kind regards
Michael Hälsig
Am Donnerstag, 9. November 2023, 13:03:29 CET schrieb Sandro Mani:
…
Message ID: ***@***.***>
manisandro commented
Thanks, this happened due to the incorrect assumption that if l
is provided, also a valid t
is provided, but I suppose it is a valid use case to just provide l
and rely on the default theme configuration.
Fixed in qgis/qwc2@b120474.
mhaelsig commented
Hi,
thank you - now it works as expected.
Kind regards
Michael Hälsig
…--
Dr. Michael Hälsig
Diefenbachstr. 9
81479 München
Tel.: +49 89 79199563
Mob.:+49 171 333 7558
Am Montag, 13. November 2023, 11:24:11 CET schrieb Sandro Mani:
Thanks, this happened due to the incorrect assumption that if `l` is
provided, also a valid `t` is provided, but I suppose it is a valid use
case to just provide `l` and rely on the default theme configuration.
Fixed in
qgis/qwc2@b120474
9.
--
Reply to this email directly or view it on GitHub:
#500 (comment)
You are receiving this because you authored the thread.
Message ID: ***@***.***>