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

[Bug]: Minidock popup not working in Lizmap Web Client : 3.7.7-pre, 3.8.0-alpha.2

Open ygorigor opened this issue 1 year ago • 1 comments

What is the bug? (in English)

After this commit https://github.com/3liz/lizmap-web-client/commit/fb13baed270b171163a111928054cd496d1017e6 minidock popup not returning data for clicked object.

popup in dock dock

popup in minidock Minidock

Steps to reproduce the issue

  1. Set popup location to minidock in Lizmap plugin.
  2. Go to LWC and click on object on map.
  3. Popup will not return data.

Versions, safeguards, check summary etc

Versions :

  • Lizmap Web Client : 3.7.7-pre, 3.8.0-alpha.2
  • Lizmap plugin : 4.3.11
  • QGIS Desktop : 3.34.6
  • QGIS Server : 3.34.6
  • Py-QGIS-Server : not used
  • QGIS Server plugin atlasprint : not found
  • QGIS Server plugin lizmap_server : 2.9.0
  • QGIS Server plugin wfsOutputExtension : 1.8.0
List of safeguards :
  • Mode : normal
  • Allow parent folder : yes
  • Number of parent : 2 folder(s)
  • Prevent other drive : yes
  • Prevent PG service : no
  • Prevent PG Auth DB : no
  • Force PG user&pass : no
  • Prevent ECW : yes

Check Lizmap plugin

  • [X] 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 20

Browsers

Microsoft Edge

Browsers version

124.0.2478.80

Relevant log output

No response

ygorigor avatar May 08 '24 06:05 ygorigor

@mind84 can you check this issue?

ygorigor avatar May 10 '24 07:05 ygorigor

Hi @ygorigor, do you have a link to access the project?

mind84 avatar May 13 '24 06:05 mind84

Hi @mind84. I switched back to 3.7.6, but you can test any project. This issue is present on all my projects, even on projects from test directory.

ygorigor avatar May 13 '24 09:05 ygorigor

@nboisteault on LWC 3.7.8-pre I get an error when I click on minidock close button

lizMap.mainLizmap.map.clearHighlightFeatures is not a function at HTMLAnchorElement. (map.js:2419:47) at HTMLAnchorElement.dispatch (jquery-3.5.1.min.js?_r=240517111522:2:43090) at v.handle (jquery-3.5.1.min.js?_r=240517111522:2:41074) at Object.trigger (jquery-3.5.1.min.js?_r=240517111522:2:71513) at HTMLAnchorElement. (jquery-3.5.1.min.js?_r=240517111522:2:72108) at Function.each (jquery-3.5.1.min.js?_r=240517111522:2:2976) at s.fn.init.each (jquery-3.5.1.min.js?_r=240517111522:2:1454) at s.fn.init.trigger (jquery-3.5.1.min.js?_r=240517111522:2:72084) at s.fn. [as click] (jquery-migrate-3.3.1.min.js?_r=240517111522:2:9422) at HTMLDivElement. (map.js:4042:41)

ygorigor avatar May 17 '24 11:05 ygorigor

@ygorigor I can reproduce. I'll fix it. Thanks.

nboisteault avatar May 17 '24 11:05 nboisteault

Fixed!

nboisteault avatar May 17 '24 12:05 nboisteault