front: bad length passed to formatSuggestedOperationalPoints() #8725
Labels
area:front
Work on Standard OSRD Interface modules
kind:bug
Something isn't working
module:operational-studies
Multi-train simulation with structured studies management
What happened?
In
front/src/modules/timesStops/hooks/useOutputTableData.ts
,path.length
is passed toformatSuggestedOperationalPoints()
. This is then passed togetPointCoordinates()
. However that function expects a position in millimeters, not an index.What did you expect to happen?
.
How can we reproduce it (as minimally and precisely as possible)?
.
On which environments the bug occurs?
No response
On which browser the bug occurs?
No response
OSRD version (top right corner
Account
button >Informations
)53bd1e9
The text was updated successfully, but these errors were encountered: