lizmap-web-client: [Bug]: Loading a project the first time → full menu, after reload → correct menu (less buttons due to custom JS)

What is the bug? (in English)

After logging in and loading a repositoty the complete menu is shown. After a refresh of the page the set menu is shown correct.

https://github.com/user-attachments/assets/387742c1-8cc9-4a19-adcf-16b9da1a71d3

Steps to reproduce the issue

Login on Lizmap Load repository Refrech page

Versions, safeguards, check summary etc

Versions :

List of Lizmap Web Client modules :
* Version Lizmap Web Client 3.8 needed
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

Windows11

Browsers

Chrome

Browsers version

Versie 134.0.6998.178 (Officiële build) (64-bits)

Relevant log output


About this issue

  • Original URL
  • State: open
  • Created 2 years ago
  • Comments: 28 (13 by maintainers)

Most upvoted comments

If i go to https://demo.lizmap.com/lizmap/index.php/view/map?repository=features&project=cats the revison code do not change afther reloading the page. If i go to https://carto-dev.tigeo.fr/index.php/view/map?repository=public&project=Adressage_Denat the revision code change every time i do a reload on the page. If i go to my page also every time i reload the page, the revison code change

If you clear the cache of the “features” directory that contains your “cats” map via the Lizmap admin and reload the map in Chrome, the bug doesn’t occur either?

This cache is about tiles, it’s not related to this kind of cache. But indeed, this button is missing a tooltip to explain its purpose.

@ygorigor Can you check in your webbrowser tools, about HTTP requests tab if the _r changes in the URL when you reload the map ? (look at https://demo.lizmap.com/lizmap/index.php/view/map?repository=features&project=cats for instance to compare) (@Mavialle Your issue in the other ticket was here, the number change always, meaning that no files could be saved on the server side) it looks like Javascript executed too early to hide your buttons ?

You can try on demo, buttons are hidden, right @Mavialle @ygorigor ?

Look at this example

Image