Open AllanEngland opened 1 month ago
If I open a page and don't interact with it for a few minutes, the session timeout modal pops up before correctly logging out.
If I open an edit modal such as edit a justification or technical goal, it will still automatically log out, but without the aforementioned session time out modal.
However, if I'm on an edit modal and typing in an edit box (such as ) then the session timeout modal does not appear and a series of 401 errors occur.
I've changed the zIndex of the session timeout modal so it now appears on top of other modals. Now working on a countdown.
In my local copy I have increased the inactivity limit to stop it timing out (I promise not to upload that back to source!)
If I leave a form unattended for a a while I get <<Unable to load proposal: 401, unauthorized>> but it doesn't log me out, just refreshing the browser or clicking another link clears it.
I sometimes also get... { "name": "unknown", "message": "Network error", "stack": { "status": "unknown", "payload": "401, unauthorized" } }
In my local copy I have increased the inactivity limit to stop it timing out (I promise not to upload that back to source!)
If I leave a form unattended for a a while I get <<Unable to load proposal: 401, unauthorized>> but it doesn't log me out, just refreshing the browser or clicking another link clears it.
I sometimes also get... { "name": "unknown", "message": "Network error", "stack": { "status": "unknown", "payload": "401, unauthorized" } }
is this on windows? which browser?
No, on my Mac using Safari
I hadn't seen this error for a while, but then it started to happen again when working on the edit justifications modal.
After a bit of investigation, I believe the edit modal is obscuring the "Session about to time out" modal, so it's not coming into focus and the confirmation cannot be clicked.
Presumably we have incorrect z-indexes on our modals.
This could be a good opportunity to also add a countdown to the "Session about to time out" modal.