specify / specify7

Specify 7
https://www.specifysoftware.org/products/specify-7/
GNU General Public License v2.0
60 stars 36 forks source link

GeoMap dialog does not open for certain base layers #4848

Open sharadsw opened 2 months ago

sharadsw commented 2 months ago

Describe the bug GeoMap dialog does not open when base layer is set to either Satellite Map (Géoportail/France) or Live Satellite Map (NASA/GIBS)

To Reproduce Steps to reproduce the behavior:

  1. Create a locality record or open a locality record with coordinates (for eg: https://kufishtissue20240124-edge.test.specifysystems.org/specify/view/locality/11491/)
  2. Click on Show Map
  3. Set base layer to either Satellite Map (Géoportail/France) or Live Satellite Map (NASA/GIBS)
  4. Click on close
  5. Click on Show Map. The dialog does not open and throws an error

Expected behavior The GeoMap dialog should open with the selected base layer

Screenshots

https://github.com/specify/specify7/assets/16229739/b3e8d300-0925-42fb-966c-79b508923ffe

Crash Report

Specify 7 Crash Report - 2024-04-26T18_19_56.703Z.txt

grantfitzsimmons commented 2 months ago

@sharadsw Is this happening in v7.9.3.1?

sharadsw commented 2 months ago

yep, v7.9.3.1 as well

sharadsw commented 2 months ago

possibly the same bug behind https://github.com/specify/specify7/issues/3910

grantfitzsimmons commented 2 months ago

I believe you are correct. The underlying issue is as follows for both:

TypeError: Cannot read properties of undefined (reading 'getNearObject')",

I'm going to close that one in favor of this one as I believe you've found the underlying cause.