Helioviewer-Project / helioviewer.org

Main web application for solar data visualization
Other
18 stars 15 forks source link

[Bug Report] - Race condition on page load #546

Open dgarciabriseno opened 5 months ago

dgarciabriseno commented 5 months ago

Describe the bug There appears to be a race condition between loading helioviewer.org and updating the observation time. This race condition leads to

To Reproduce Steps to reproduce the behavior. These steps must be performed fast to see the error. It might only be possible to reproduce if you throttle the connection speed.

  1. Go to helioviewer.org
  2. Click on the observation date and set it to '2021/06/01'
  3. Click on the observation time and set it to '00:01:29'
  4. Helioviewer becomes unresponsive (doesn't load any new data).

Expected behavior Helioviewer should finish loading and update the viewport to the selected observation time.

There is a playwright test for this. See the TODO in Displays initial AIA 304 Image