betagouv / SPPNautCarting

First version of interface to manage nautic publication
European Union Public License 1.2
3 stars 4 forks source link

Refresh freeze on Carting IN front when reaching the WMS layer #334

Closed JulieMoncorger closed 1 year ago

JulieMoncorger commented 1 year ago

On Firefox (114.0.2), at http://localhost:8000/position :

  1. Zoom in slowly near Saint-Malo (for example)
  2. Reach the WMS layer (beacons layer)
  3. At this point, the base map (Raster Marine layers) do not refresh completely, the beacons layer also.
  4. If we zoom out or move the map, nothing is refreshing anymore, same for the IN text on the right half of the screen.
  5. Eventually, everything goes back to normal in about a couple of minutes

On Chrome (Version 114.0.5735.135), Same behaviour, with also the Carting Tab ("Search by Text" and "Search by Position") are not working anymore.

In the Console (Firefox), many errors like this one:

Uncaught (in promise) DOMException: The operation was aborted. 
    cancel turbo.es2017-esm.js:512
    visit turbo.es2017-esm.js:3573
    loadSourceURL turbo.es2017-esm.js:3426
    sourceURLChanged turbo.es2017-esm.js:3398
    attributeChangedCallback turbo.es2017-esm.js:138
    set src turbo.es2017-esm.js:149
    updateBboxInUrl map_controller.ts:59
    invokeWithEvent stimulus.js:362
    handleEvent stimulus.js:329
    handleEvent stimulus.js:31
    #dispatch section_map.ts:255
    #dispatchBboxChanged section_map.ts:274
    dispatchEvent Target.js:114
    renderFrame_ Map.js:1599
    animationDelay_ Map.js:1422
    render Map.js:1455
    handleSizeChanged_ Map.js:1231
    dispatchEvent Target.js:114
    notify Object.js:176
    set Object.js:215
    setSize Map.js:1646
    updateSize Map.js:1724
    resizeObserver_ Map.js:432

Screenshots attached

249742634-be5824d1-a562-4811-87b5-41d706063fbe 249742850-bb7a5aa8-d715-4310-959c-fe56d3f86eda

JulieMoncorger commented 1 year ago

Un npm install + parcel-cache vidé a résolu le souci