Skip to content

Lngitudinal profile throwse an exception #2417

@giohappy

Description

@giohappy

This happens on master branch only.

How to reproduce:

1 - Create a map
2 - Add a vewer and include the Longitudinal Profile plugin
3 - Save -> The map doesn load and the following expcetion appear in console

gn-catalogue.js?geonode-mapstore-client-vmaster-3f593c1f9cbb54d709beff1d0c09806e3cc99c97:8 TypeError: Cannot read properties of null (reading 'clientHeight')
    at longitudinal-profile-tool.fec24e1dcfca6889.chunk.js:1:42618
    at longitudinal-profile-tool.fec24e1dcfca6889.chunk.js:1:42638
    at es (gn-catalogue.js?geonode-mapstore-client-vmaster-3f593c1f9cbb54d709beff1d0c09806e3cc99c97:8:2074600)
    at du (gn-catalogue.js?geonode-mapstore-client-vmaster-3f593c1f9cbb54d709beff1d0c09806e3cc99c97:8:2099306)
    at t.unstable_runWithPriority (gn-catalogue.js?geonode-mapstore-client-vmaster-3f593c1f9cbb54d709beff1d0c09806e3cc99c97:5:985915)
    at Uo (gn-catalogue.js?geonode-mapstore-client-vmaster-3f593c1f9cbb54d709beff1d0c09806e3cc99c97:8:2043458)
    at fu (gn-catalogue.js?geonode-mapstore-client-vmaster-3f593c1f9cbb54d709beff1d0c09806e3cc99c97:8:2099079)
    at Ws (gn-catalogue.js?geonode-mapstore-client-vmaster-3f593c1f9cbb54d709beff1d0c09806e3cc99c97:8:2084128)
    at gn-catalogue.js?geonode-mapstore-client-vmaster-3f593c1f9cbb54d709beff1d0c09806e3cc99c97:8:2043748
    at t.unstable_runWithPriority (gn-catalogue.js?geonode-mapstore-client-vmaster-3f593c1f9cbb54d709beff1d0c09806e3cc99c97:5:985915)

Metadata

Metadata

Assignees

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions