OpenRailAssociation / osrd

An open source web application for railway infrastructure design, capacity analysis, timetabling and simulation
https://osrd.fr
470 stars 44 forks source link

front: stdcm: we sometimes try to add deleted trains to the space time chart #8538

Open eckter opened 3 months ago

eckter commented 3 months ago

What happened?

image

What did you expect to happen?

No response

How can we reproduce it (as minimally and precisely as possible)?

  1. Add a train to a timetable
  2. Do an STDCM request that would show this train on the space time chart (debug version)
  3. Without closing the tab, remove the train from the timetable
  4. Without refreshing the stdcm page, try another request

On which environments the bug occurs?

Local

On which browser the bug occurs?

Firefox

OSRD version (top right corner Account button > Informations)

77ed9b9e027aaad67ad2b9a049675f53226e9be8

Maymanaf commented 1 month ago

This issue is no longer relevant

eckter commented 1 month ago

Sorry but it it still relevant, I could reproduce with the same steps. The only extra step now is to enable the debug elements to have a space-time chart.

The error now looks like this:

image