Skip to content

[Filtered] can't access property "_leaflet_events #974

@krabina

Description

@krabina

Setup

  • SMW version: 5.1.0
  • SRF version: 5.1.0
  • MW version: 1.39.13
  • PHP version: 8.2.20
  • DB system (MySQL,) version: 8.0.28

Issue

In the filtered format, filters work for tables, but in the same filter the map view does not correctly show/hide entries.

jQuery.Deferred exception: can't access property "_leaflet_events", obj is undefined removeOne@/load.php?lang=de&modules=ext.bootstrap.scripts%7Cext.srf.filtered%7Cjquery&skin=chameleon&version=1i14j:542:951
off@/load.php?lang=de&modules=ext.bootstrap.scripts%7Cext.srf.filtered%7Cjquery&skin=chameleon&version=1i14j:541:526
_removeIcon@/load.php?lang=de&modules=ext.bootstrap.scripts%7Cext.srf.filtered%7Cjquery&skin=chameleon&version=1i14j:612:978
onRemove@/load.php?lang=de&modules=ext.bootstrap.scripts%7Cext.srf.filtered%7Cjquery&skin=chameleon&version=1i14j:610:996
removeLayer@/load.php?lang=de&modules=ext.bootstrap.scripts%7Cext.srf.filtered%7Cjquery&skin=chameleon&version=1i14j:601:356
removeLayer@/load.php?lang=de&modules=ext.srf.filtered.map-view.leaflet&skin=chameleon&version=1lhhd:96:748
removeLayer@/load.php?lang=de&modules=ext.srf.filtered.map-view.leaflet&skin=chameleon&version=1lhhd:98:156
removeLayers@/load.php?lang=de&modules=ext.srf.filtered.map-view.leaflet&skin=chameleon&version=1lhhd:203:438
[21]</hideRows/</<@/load.php?lang=de&modules=ext.bootstrap.scripts%7Cext.srf.filtered%7Cjquery&skin=chameleon&version=1i14j:736:810
manipulateLayers@/load.php?lang=de&modules=ext.bootstrap.scripts%7Cext.srf.filtered%7Cjquery&skin=chameleon&version=1i14j:736:952
[21]</hideRows/<@/load.php?lang=de&modules=ext.bootstrap.scripts%7Cext.srf.filtered%7Cjquery&skin=chameleon&version=1i14j:736:751
mightThrow@/load.php?lang=de&modules=ext.bootstrap.scripts%7Cext.srf.filtered%7Cjquery&skin=chameleon&version=1i14j:790:247
Deferred/then/resolve/</process<@/load.php?lang=de&modules=ext.bootstrap.scripts%7Cext.srf.filtered%7Cjquery&skin=chameleon&version=1i14j:790:906
 undefined

Steps to reproduce the observation (recommendation is to use the sandbox):

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions