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

Infra duplication doesn't duplicate errors layer #5539

Closed
flomonster opened this issue Oct 31, 2023 · 1 comment · Fixed by #5576
Closed

Infra duplication doesn't duplicate errors layer #5539

flomonster opened this issue Oct 31, 2023 · 1 comment · Fixed by #5576
Assignees
Labels
area:editoast Work on Editoast Service difficulty:good first issue Good for newcomers kind:bug Something isn't working severity:minor Minor severity bug

Comments

@flomonster
Copy link
Contributor

What happened?

When we duplicate an infra with errors / warning the duplicated infra doesn't contain any errors.

What did you expect to happen?

The duplicated infra should contain the same errors

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

  1. Go to Map viewer
  2. Open the Infra modal
  3. Click on Edit
  4. Duplicate an infra with errors
  5. Select the duplicated infra
  6. Observe no errors

What operating system, browser and environment are you using?

  • Env: Local & DgexSol

OSRD version (top right corner Account button > Informations)

9c85e6c

@flomonster flomonster added kind:bug Something isn't working difficulty:good first issue Good for newcomers severity:minor Minor severity bug area:editoast Work on Editoast Service labels Oct 31, 2023
@flomonster
Copy link
Contributor Author

How to fix

  • Check the duplication endpoint (editoast).
  • We probably forgot to duplicate the error layer.

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:minor Minor severity bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants