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

Bug at pathfinding when using a train with "GLOTT" loading gauge #5157

Closed
Castavo opened this issue Sep 29, 2023 · 0 comments · Fixed by #5159
Closed

Bug at pathfinding when using a train with "GLOTT" loading gauge #5157

Castavo opened this issue Sep 29, 2023 · 0 comments · Fixed by #5159
Assignees
Labels
kind:bug Something isn't working severity:major Major severity bug

Comments

@Castavo
Copy link
Contributor

Castavo commented Sep 29, 2023

What happened?

I created a rolling stock with a "GLOTT" loading gauge, and when launching a pathfinding, it fails with:

Erreur dans la recherche d’itinéraire : Core error 500: com.squareup.moshi.JsonDataException: Expected one of [G1, G2, GA, GB, GB1, GC, FR3.3, FR3.3/GB/G2] but was GLOTT at path $.rolling_stocks[0].loading_gauge

What did you expect to happen?

No error

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

  1. Select a train with GLOTT (or create one)
  2. Use it in a train schedule and try to launch pathfinding

What operating system, browser and environment are you using?

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

OSRD version (top right corner Account button > Informations)

5da16c9

@Castavo Castavo added kind:bug Something isn't working severity:major Major severity bug labels Sep 29, 2023
@eckter eckter linked a pull request Sep 29, 2023 that will close this issue
@eckter eckter self-assigned this Sep 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind:bug Something isn't working severity:major Major severity bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants