Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Filtered data download doesn't work if layer name and short name are different #5084

Open
1 task done
RobiFag opened this issue Dec 5, 2024 · 0 comments
Open
1 task done
Labels

Comments

@RobiFag
Copy link
Contributor

RobiFag commented Dec 5, 2024

What is the bug? (in English)

Hi all,
when I try to download filtered data from layer info panel or attribute table, Lizmap web page returns an internal server error

image

After several tests, I found out that if the layer name is different from its shortname, lizmap web page returns the error downloading filtered data. If the layer name and the shortname are the same, the download works.

This behaviour does not affect the export botton of the form filter tool.

Maybe related to #4359 and #4358 ?

Steps to reproduce the issue

  1. change the shortname of a layer
  2. publish the layer as WFS and and enable the related attribute table or filter tool
  3. filter data from lizmap
  4. try to download data from the layer info panle or from the attribute table

Versions, safeguards, check summary etc

Versions :

  • Lizmap Web Client : 3.7.11
  • Lizmap plugin : 4.3.24
  • QGIS Desktop : 3.34.13
  • QGIS Server : 3.34.10
  • Py-QGIS-Server : not used
  • QGIS Server plugin atlasprint : 3.4.1
  • QGIS Server plugin lizmap_server : 2.11.2
  • QGIS Server plugin wfsOutputExtension : 1.8.2
List of safeguards :
  • Mode : normal
  • Allow parent folder : no
  • Prevent other drive : yes
  • Prevent PG service : no
  • Prevent PG Auth DB : yes
  • Force PG user&pass : yes
  • Prevent ECW : yes

Check Lizmap plugin

  • I have done the step just before in the Lizmap QGIS desktop plugin before opening this ticket. Otherwise, my ticket is not considered valid and might get closed.

Operating system

Windows 10

Browsers

Firefox, Chrome, Microsoft Edge

Browsers version

Firefox Versione 133.0, Chrome Versione 131.0.6778.108, Microsoft Edge Versione 131.0.2903.70

Relevant log output

No response

@RobiFag RobiFag added the bug label Dec 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant