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]: Is the actions (fire stations/hydrants/buildings) example working on LMWC 3.8? #4938

Open
1 task done
gioman opened this issue Nov 5, 2024 · 1 comment
Open
1 task done

Comments

@gioman
Copy link
Contributor

gioman commented Nov 5, 2024

What is the bug? (in English)

I tried to put to work this

https://docs.lizmap.com/current/en/publish/lizmap_plugin/actions.html

which was working fine up to 3.6. I updated the JSON file as described in the docs, so there is no warning message on project load. Anyway but trying to run the action to look for the closes fire stations or to select all buildings in a buffer around a specific fire hydrant do not give any results, but also no error.

By the way, also your demo here

https://demo.lizmap.com/lizmap/index.php/view/map?repository=features&project=fire_hydrant_actions

behave exactly the same.

Thanks in advance.

Steps to reproduce the issue

See above.

Versions, safeguards, check summary etc

Versions :

  • Lizmap Web Client : 3.8.2
  • Lizmap plugin : 4.4.4
  • QGIS Desktop : 3.34.9
  • QGIS Server : 3.34.11
  • Py-QGIS-Server : not used
  • QGIS Server plugin atlasprint : 3.4.1
  • QGIS Server plugin lizmap_server : 2.11.0
  • QGIS Server plugin wfsOutputExtension : 1.8.0
List of Lizmap Web Client modules :
* lizmapdemo : 3.6.0a1
List of safeguards :
* Mode : safe
* Allow parent folder : no
* Prevent other drive : yes
* Prevent PG service : yes
* 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

Ubuntu 22.04

Browsers

Firefox, Chrome

Browsers version

Latest updates.

Relevant log output

No response

@SecondGIS
Copy link

Hello there,
I am still using LWC 3.6 since actions are currently not working in later versions ; as far as I understand from 3.6 documentation, there was no map-center parameter to be passed to lizmap_get_data() function in that version.
Anyone has any suggestion as to how to build that map-center parameter and use it in my SQL query inside lizmap_get_data() function with LWC 3.6 ?
Thanks for your help

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants