osrd icon indicating copy to clipboard operation
osrd copied to clipboard

Simulation results: duplication of requests

Open flomonster opened this issue 4 years ago • 1 comments

Describe the bug The front makes the same request twice: /train_schedule/results/?train_ids=1,2&path=1

To Reproduce Steps to reproduce the behavior:

  1. Go to 'Grille Horaire'
  2. Create a path
  3. Create two trains
  4. Go to simulation and check the network panel

Expected behavior Only one GET /train_schedule/results/... query should be done.

Desktop:

  • Local version using docker-compose up
  • Browser: firefox
  • Version: fam/api-standalone (hash: a1550b882c27)

flomonster avatar Feb 09 '22 14:02 flomonster

—> check useEffect/getTimeTable

anisometropie avatar Oct 03 '22 08:10 anisometropie