lizmap-web-client icon indicating copy to clipboard operation
lizmap-web-client copied to clipboard

[Bug]: The first feature's popup is displayed from a click in the attribute table

Open Gustry opened this issue 3 years ago • 3 comments

What is the bug?

I couldn't replicate the issue on the cats demo project.

But on the Leman (and also on my other Lizmap with other project) I can replicate. The layer is not stored in PG according to the other participant, so it's not the issue about int4, int8.

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

Steps to reproduce the issue

Go to https://demo.lizmap.com/lizmap/index.php/view/map/?repository=demo&project=leman

Open the attribute table

Open the "I" button to display the popup

Check which popup is displayed, it's the always the first one

wrong_popup

Lizmap version

3.4.6

QGIS desktop version

3.10 and 3.16

QGIS server version

3.10 and 3.16

Operating system

Ubuntu, windows

Browsers

Firefox

Browsers version

latest

Relevant log output

No response

Gustry avatar Oct 19 '21 11:10 Gustry

I can't reproduce issue with master with QGIS Server 3.16.14 with pgsql and shapefile layers. What's the QGIS Server full version? I'm going to test with Lizmap 3.4.

nboisteault avatar Nov 23 '21 15:11 nboisteault

@nboisteault The bug is still present. I can reproduce just now : https://demo.lizmap.com/lizmap/index.php/view/map/?repository=demo&project=leman Version of QGIS Server https://demo.lizmap.com/lizmap/index.php/view/map/?repository=misc1&project=qgis_info

Gustry avatar Nov 23 '21 16:11 Gustry

I can't replicate anymore the issue. https://demo.lizmap.com/lizmap/index.php/view/map/?repository=feat1&project=cats it works well

But now, it's a different issue :

  • popup on the map, it works
  • popup from attribute table : 400 http code

Peek 2022-08-02 09-59.webm

Gustry avatar Aug 02 '22 08:08 Gustry

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

nboisteault avatar Nov 30 '23 13:11 nboisteault