Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No train selected after deleting a train #5811

Closed
SharglutDev opened this issue Nov 22, 2023 · 0 comments · Fixed by #5818
Closed

No train selected after deleting a train #5811

SharglutDev opened this issue Nov 22, 2023 · 0 comments · Fixed by #5818
Assignees
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 severity:minor Minor severity bug

Comments

@SharglutDev
Copy link
Contributor

What happened?

In a scenario, if I delete a selected train in the timetable, there isn't any other train gaining the selection.
We should probably create a function to use in both spots where we can delete a train

What did you expect to happen?

The first train of the timetable should gain the selection.

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

  1. Go to a scenario with at least 2 trains
  2. Delete the selected train

What operating system, browser and environment are you using?

  • Browser: Firefox v118
  • OS: Ubuntu
  • Env: Dev

OSRD version (top right corner Account button > Informations)

dev 1c48fa1

@SharglutDev SharglutDev added kind:bug Something isn't working area:front Work on Standard OSRD Interface modules severity:minor Minor severity bug module:operational-studies Multi-train simulation with structured studies management labels Nov 22, 2023
@SharglutDev SharglutDev self-assigned this Nov 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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 severity:minor Minor severity bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant