openstreetmap / iD

🆔 The easy-to-use OpenStreetMap editor in JavaScript.
https://www.openstreetmap.org/edit?editor=id
ISC License
3.34k stars 1.2k forks source link

Data load/refresh issue with Mapillary imagery layer enabled #10440

Open tohaklim opened 3 weeks ago

tohaklim commented 3 weeks ago

I've not seen this in the issues log, but surely it can't be just me?

How to reproduce the issue?

Not able to reproduce reliably, but in general.

  1. Open an editing session
  2. Enable the Mapillary layer
  3. (potentially) select an image
  4. Attempt to edit tags or move/zoom the map
  5. Tags get added however the tag list is not updated until exited
  6. Map view attempts to move/zoom however rendering gets borked (see screenshot) - data and imagery layers become misaligned; console is full of uncaught typeErrors: cannot read properties of undefined
  7. Disabling the Mapillary layer fixes the issue

Screenshot(s) or anything else?

image

Uncaught TypeError: Cannot read properties of undefined (reading 'transient') at bd.extent (id-316f4f96984fe6c0b21f27749e1fbd4cc99fcfe00db1c03f2f26c6f225823141.js:59:13318) at id-316f4f96984fe6c0b21f27749e1fbd4cc99fcfe00db1c03f2f26c6f225823141.js:20:5711 at Array.map (<anonymous>) at o (id-316f4f96984fe6c0b21f27749e1fbd4cc99fcfe00db1c03f2f26c6f225823141.js:20:5701) at o (id-316f4f96984fe6c0b21f27749e1fbd4cc99fcfe00db1c03f2f26c6f225823141.js:20:6640) at id-316f4f96984fe6c0b21f27749e1fbd4cc99fcfe00db1c03f2f26c6f225823141.js:20:8316 at Cn.call (id-316f4f96984fe6c0b21f27749e1fbd4cc99fcfe00db1c03f2f26c6f225823141.js:37:6263) at a.gatherStats (id-316f4f96984fe6c0b21f27749e1fbd4cc99fcfe00db1c03f2f26c6f225823141.js:19:9065) at a (id-316f4f96984fe6c0b21f27749e1fbd4cc99fcfe00db1c03f2f26c6f225823141.js:19:21910) at u (id-316f4f96984fe6c0b21f27749e1fbd4cc99fcfe00db1c03f2f26c6f225823141.js:19:24770)

Which deployed environments do you see the issue in?

Released version at openstreetmap.org/edit

What version numbers does this issue effect?

2.30.2

Which browsers are you seeing this problem on?

Microsoft Edge

danieldegroot2 commented 2 weeks ago

It should work if you try the development version at https://ideditor.netlify.app/ This will be available on the openstreetmap.org website at a later time.

Duplicate of #10417.