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

Unable to edit speed effort curve #6579

Closed
SharglutDev opened this issue Feb 6, 2024 · 0 comments · Fixed by #6614
Closed

Unable to edit speed effort curve #6579

SharglutDev opened this issue Feb 6, 2024 · 0 comments · Fixed by #6614
Assignees
Labels
area:front Work on Standard OSRD Interface modules kind:bug Something isn't working module:rollingstocks-editor A module dedicated to rollingstock editors severity:major Major severity bug

Comments

@SharglutDev
Copy link
Contributor

SharglutDev commented Feb 6, 2024

What happened?

In the rolling stock editor, when adding a new electric profile or a new power restriction code on a duplicated rolling stock, it "breaks" the whole related traction mode. This leads to the impossibility to edit any speed effort curve of any electrical profile / power restriction of the traction mode.
This issue doesn't happen on a rolling stock created from scratch.

What did you expect to happen?

Adding a new electrical profile or power restriction code shouldn't break anything.

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

  1. Go to rolling stock editor
  2. Select a rollling stock with power restrictions (a tgv for example), edit it and go to speed effort curve tab
  3. Check that you can edit any curve
  4. Now add a power restriction code in any traction mode / electrical profile and try to edit any curve

What operating system, browser and environment are you using?

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

OSRD version (top right corner Account button > Informations)

dev 5895b87

@SharglutDev SharglutDev added kind:bug Something isn't working area:front Work on Standard OSRD Interface modules severity:major Major severity bug module:rollingstocks-editor A module dedicated to rollingstock editors labels Feb 6, 2024
@kmer2016 kmer2016 self-assigned this Feb 8, 2024
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:rollingstocks-editor A module dedicated to rollingstock editors severity:major Major severity bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants