Hello,
accessing the TAF twice for an airport that has non crashes Navigraph.
Works on any airport without a TAF that also doesn’t use data from an airport in the vicinity.
ESPA was for testing.
Steps to reproduce
- Select & Open the Airport Information for ESPA
- Open the Weather and switch to TAF (Should show “No TAF reports available for this airport.”)
- Switch to the NOTAMs (or any other tab)
- Reopen the TAF → Crash
Bug was reliably reproducible for me on the Desktop version as well as the Webapp (Firefox 116.0.3 (64-bit).
Javascript crash output
TypeError: Invalid attempt to spread non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.
https://charts.navigraph.com/main.bundle.js:2
Thanks