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

stdcm - results are printed for canceled requests #9779

Closed
maelysLeratRosso opened this issue Nov 19, 2024 · 0 comments · Fixed by #9948
Closed

stdcm - results are printed for canceled requests #9779

maelysLeratRosso opened this issue Nov 19, 2024 · 0 comments · Fixed by #9948
Assignees
Labels
area:core Work on Core Service area:editoast Work on Editoast Service area:front Work on Standard OSRD Interface modules kind:bug Something isn't working module:stdcm Short-Term DCM severity:major Major severity bug

Comments

@maelysLeratRosso
Copy link

What happened?

If I cancel a request, I still receive the results in the frontend which creates the following weird behaviors :

  • Minor : if I just cancel a request without launching another one, I receive a result which is confusing
  • Major : VERY CONFUSING : If I cancel a request (n°1) and then start another one (n°2), I first receive the result of n°1 (but the inputs in the form are n°2) and then I receive n°2, which overwrites the first one (in the same simulation tab, the picture here shows what I have after the first result)

Image

What did you expect to happen?

I expected either

  • If possible, when a request is canceled, stopping the computation of the result
  • If the previous point is not possible, ignoring the responses which correspond to canceled simulations, and not displaying them

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

Create a first simulation, cancel it, change the inputs, and create a 2nd simulation. One sees the results of the first simulation, then these results are overwritten with those of the second simulation.

On which environments the bug occurs?

Dev (SNCF)

On which browser the bug occurs?

Google Chrome

OSRD version (top right corner Account button > Informations)

a4daa6d

@maelysLeratRosso maelysLeratRosso added kind:bug Something isn't working severity:major Major severity bug area:core Work on Core Service area:front Work on Standard OSRD Interface modules area:editoast Work on Editoast Service module:stdcm Short-Term DCM labels Nov 19, 2024
@RomainValls RomainValls self-assigned this Dec 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:core Work on Core Service area:editoast Work on Editoast Service area:front Work on Standard OSRD Interface modules kind:bug Something isn't working module:stdcm Short-Term DCM severity:major Major severity bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants