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

Slopes and curves editor can be stuck in invalid state #5933

Closed
flomonster opened this issue Nov 30, 2023 · 0 comments · Fixed by #6017
Closed

Slopes and curves editor can be stuck in invalid state #5933

flomonster opened this issue Nov 30, 2023 · 0 comments · Fixed by #6017
Assignees
Labels
area:front Work on Standard OSRD Interface modules kind:bug Something isn't working module:infra-editor Infra Edition severity:critical Critical severity bug

Comments

@flomonster
Copy link
Contributor

What happened?

When the length of a track section is reduced. Curves and gradients are locked in an invalid state. This is due to the use of geometry length instead of track section length.

What did you expect to happen?

We should be able to edit the end offset of the last range

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

  1. Go to editor
  2. Select a track section
  3. Change its length (reduce)
  4. Some errors appear on the slopes and curves (OutOfRange)
  5. There is no way to fix it

What operating system, browser and environment are you using?

  • Browser: Firefox v109
  • OS: Nixos v22.11
  • Env: Local

OSRD version (top right corner Account button > Informations)

3df6fbc

@flomonster flomonster added kind:bug Something isn't working area:front Work on Standard OSRD Interface modules severity:critical Critical severity bug module:infra-editor Infra Edition labels Nov 30, 2023
@Akctarus Akctarus self-assigned this Nov 30, 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:infra-editor Infra Edition severity:critical Critical severity bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants