Cookie code changed to set the value on unintentional cookie resets (clicking 'start over' should not show the alert)
Tests written
i18n added
Testing
Submit a recertification, click "start over". You should NOT see the alert
You can manually add "?resetSession=true" to the index page to see the alert
You can set your current session to be expired and force a reset by taking the SubmissionID out of your app logs from lines like this:
Session 8ba799a7-ca19-4b4a-a368-b28120ae4edf valid; finished parser
Then you can connect to the local database:
psql -h127.0.0.1 -Upostgres with the password incredible_local_secret_phrase
And run:
update submissions set updated_at='2022-05-03' where submission_id='YOUR_ID_HERE';
AFTER doing this: Any interaction with the site (navigation, clicking a button / submitting a form, etc) should route you back to Index and show the new alert
Ticket
https://wicmtdp.atlassian.net/browse/PRP-275
Changes
Testing
Session 8ba799a7-ca19-4b4a-a368-b28120ae4edf valid; finished parser
Then you can connect to the local database:psql -h127.0.0.1 -Upostgres
with the passwordincredible_local_secret_phrase
And run:update submissions set updated_at='2022-05-03' where submission_id='YOUR_ID_HERE';
AFTER doing this: Any interaction with the site (navigation, clicking a button / submitting a form, etc) should route you back to Index and show the new alert