bcgov / bcgov/STRR

Hosts - Errors in console and invalid dash state after long period of inactivity

Open
#1,412 1 comment 0 reactions 0 assignees View on GitHub
bug Priority3 STR
Dominant language
Python
Stars
2
Forks
22
Avg merge
2d 35m
Merged PRs (30d)
11

Description

Repro Steps:
1. Find or add a new hosts app that is in the Payment Due state
2. Login as the applicant
3. Pay
4. Wait ~45 minutes
5. Use the breadcrumbs to go back to Hosts dashboard

Actual:
See screenshot
User is not automatically logged out of the UX
But the API appears to have timed out
Errors in console and dash is now in an invalid state

Expected:
After timeout, user is automatically logged out and app returns to the login screen

image.png

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the timeout flow from the Hosts dashboard through the breadcrumbs after paying an app in Payment Due, and inspect the API timeout and login/logout handling. Check the browser console and compare the resulting dashboard state with the expected login screen; done means an expired session logs the user out without leaving an invalid dashboard state.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
api, authentication, frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.