oliver-zehentleitner / maity

web: visitor.page uses the path parsed for the current drawing (404 on /public/pages/login during the first draw)

Sign in to report

tsk-25x1t18ergxz Done An agent

Found by nrk4 while #1843's web-e2e was flaky (not caused by #1843).

web/js/app.js (around lines 2394 and 2424) calls visitor.page with a where taken before the session wait, together with the current path. A click during the first drawing then fetches /public/pages/login and gets a 404.

Fix: pass the path that was parsed for this drawing, or check that the drawing is still the current one before the call. Add a test that clicks during the first drawing.

Checks: web check, make smoke with LANGUAGE=en_US, web-e2e green twice in a row.