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

Power restrictions get reset on first opening of train schedule #10494

Closed
Castavo opened this issue Jan 23, 2025 · 1 comment · Fixed by #10696
Closed

Power restrictions get reset on first opening of train schedule #10494

Castavo opened this issue Jan 23, 2025 · 1 comment · Fixed by #10696
Assignees
Labels
area:front Work on Standard OSRD Interface modules from:users Something reported directly by the users kind:bug Something isn't working module:operational-studies Multi-train simulation with structured studies management severity:minor Minor severity bug

Comments

@Castavo
Copy link
Contributor

Castavo commented Jan 23, 2025

What happened?

When a train has some power restrictions set, when you hard reload the page (ctrl + R) and you edit it, without changing anything the power restrictions are reset

Enregistrement.de.l.ecran.2025-01-23.095505.mp4

What did you expect to happen?

I expect the power restrictions not be reset if we didn't change any parameter of the path

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

  1. Create a train with power restrictions
  2. Hard reload your browser (I guess it's emptying the cache)
  3. Click on the edit button for this train
  4. Witness the toast

On which environments the bug occurs?

Recette (SNCF)

On which browser the bug occurs?

Firefox

OSRD version (top right corner Account button > Informations)

c9066aa

@Castavo Castavo added area:front Work on Standard OSRD Interface modules from:users Something reported directly by the users kind:bug Something isn't working module:operational-studies Multi-train simulation with structured studies management severity:minor Minor severity bug labels Jan 23, 2025
@Castavo
Copy link
Contributor Author

Castavo commented Jan 23, 2025

I hesitated between major and minor

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 from:users Something reported directly by the users 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.

2 participants