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

front: editor: slopes and curves can't be empty #5592

Closed
eckter opened this issue Nov 3, 2023 · 1 comment
Closed

front: editor: slopes and curves can't be empty #5592

eckter opened this issue Nov 3, 2023 · 1 comment
Labels
area:front Work on Standard OSRD Interface modules kind:bug Something isn't working module:infra-editor Infra Edition severity:minor Minor severity bug

Comments

@eckter
Copy link
Contributor

eckter commented Nov 3, 2023

What happened?

When creating a track, the slopes and curves can't be empty. This is especially weird for curves, as the semantically correct way to have straight tracks (other that not having value) is to have an infinite radius. Inputting 0 works as well but that's mostly by chance (core avoiding a division by 0)

What did you expect to happen?

Slopes and curves should accept empty lists

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

Edit a track and try not to input curves

What operating system, browser and environment are you using?

  • Browser: Firefox
  • OS: Ubuntu
  • Env: dev

OSRD version (top right corner Account button > Informations)

c39e699

@eckter eckter added kind:bug Something isn't working area:front Work on Standard OSRD Interface modules severity:minor Minor severity bug module:infra-editor Infra Edition labels Nov 3, 2023
@clarani
Copy link
Contributor

clarani commented Nov 17, 2023

Solved by #5581, duplicated with #3479

@clarani clarani closed this as completed Nov 17, 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:minor Minor severity bug
Projects
None yet
Development

No branches or pull requests

2 participants