3liz / lizmap-web-client

Transfer a QGIS project on a server, Lizmap is providing the web interface to browse it
https://www.lizmap.com
Mozilla Public License 2.0
260 stars 143 forks source link

[Bug]: Impossible to download daa it layer has a custom name #2553

Closed vlebert closed 11 months ago

vlebert commented 3 years ago

What is the bug?

Hi Lizmap team

I found out that Lizmap Client don't give the download option if layer is renamed in Qgis. See screenshots for details :

image

image

I had this bug with PostGIS as well as Spatialite. Short name in QGIS Server options is set properly.

Steps to reproduce the issue

See bug description.

Lizmap version

3.4.6

QGIS desktop version

3.16.9

QGIS server version

Not sure

Operating system

Windows 10

Browsers

Chrome

Browsers version

chrome 95

Relevant log output

No response

vlebert commented 3 years ago

Hi

Actualy I did more testing and came to a new conclusion ;

To make download option work, I need to name the layer in Qgis the same as shortname in QGIS Server params.

This is not the behaviour expected as you can't use space or special chars. As long as short name is properly set, download option should work fine, whatever the QGIS name is.

Do you confirm the bug?

Valérian

vlebert commented 2 years ago

Hey lizmap team. Do you confim this bug?

nboisteault commented 11 months ago

I can't reproduce in Lizmap 3.7. Please reopen if issue still occurs.