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

Editor : slopes with no gradient values can be save #3479

Closed
bgiuliana opened this issue Mar 10, 2023 · 0 comments · Fixed by #5581
Closed

Editor : slopes with no gradient values can be save #3479

bgiuliana opened this issue Mar 10, 2023 · 0 comments · Fixed by #5581
Assignees
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

@bgiuliana
Copy link
Contributor

What happened?

When editing a slope, a message says that gradient is a required property. Despite this, it is possible to save modifications without defing the gradient value.

Image

What did you expect to happen?

We should block the save untill the user defines gradient value

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

  1. Go to the editor module
  2. Select a track and click on the edition button
  3. Click to edit the slopes without defining the gradient
  4. Click on the save button. A message saying "the modifications are saved" appears.

What operating system, browser and environment are you using?

  • Browser: Chrome v110
  • OS: Windows 10
  • Env: Dgex dev

OSRD version (top right corner Account button > Informations)

5d29253

@bgiuliana bgiuliana added module:infra-editor Infra Edition kind:bug Something isn't working severity:minor Minor severity bug labels Mar 10, 2023
@alexandredamiron alexandredamiron added the area:front Work on Standard OSRD Interface modules label Apr 19, 2023
@Wadjetz Wadjetz self-assigned this Oct 27, 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

Successfully merging a pull request may close this issue.

3 participants