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

Impossible to create a route #6317

Closed
flomonster opened this issue Jan 11, 2024 · 0 comments · Fixed by #6327
Closed

Impossible to create a route #6317

flomonster opened this issue Jan 11, 2024 · 0 comments · Fixed by #6327
Assignees
Labels
area:editoast Work on Editoast Service difficulty:good first issue Good for newcomers kind:bug Something isn't working severity:critical Critical severity bug

Comments

@flomonster
Copy link
Contributor

What happened?

When creating a route we need to search for compatible routes between two detectors/buffer stops.

Request POST /infra/8/pathfinding/ fails with a 400.

{
  "status": 400,
  "type": "editoast:JsonError",
  "context": {
    "cause": "Json deserialize error: unknown field `track_section`, expected `track` or `position` at line 1 column 28"
  },
  "message": "Json deserialize error: unknown field `track_section`, expected `track` or `position` at line 1 column 28"
}

There is an error in the editoast openapi. Ideally we should make it use utoipa.

What did you expect to happen?

We should see possible routes.

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

  1. Go to editor
  2. Try to create a route
  3. When searching for compatible routes we have an infinite loader

What operating system, browser and environment are you using?

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

OSRD version (top right corner Account button > Informations)

bf6da3d

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:editoast Work on Editoast Service difficulty:good first issue Good for newcomers kind:bug Something isn't working severity:critical Critical severity bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant