You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[HOLD for payment 2024-11-13] [$250] Clicking " Please sign in again" does nothing in "Session Expired" page #51546
Version Number: Reproducible in staging?: needs reproduction Reproducible in production?: needs reproduction If this was caught on HybridApp, is this reproducible on New Expensify Standalone?: If this was caught during regression testing, add the test name, ID and link from TestRail: Email or phone of affected tester (no customers): Logs:https://stackoverflow.com/c/expensify/questions/4856 Expensify/Expensify Issue URL: Issue reported by:@carlosmiceli Slack conversation:https://expensify.slack.com/archives/C049HHMV9SM/p1729880182560339
Action Performed:
Have a " Your Session has Expired" screen
Click on "Please sign in again"
Expected Result:
User is taken to sign in screen
Actual Result:
Nothing happens
Workaround:
unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
changed the title [-]Clicking " Please sign in again" does nothing in "Session Expired" page[/-][+][$250] Clicking " Please sign in again" does nothing in "Session Expired" page[/+]on Oct 28, 2024
changed the title [-][$250] Clicking " Please sign in again" does nothing in "Session Expired" page[/-][+][HOLD for payment 2024-11-13] [$250] Clicking " Please sign in again" does nothing in "Session Expired" page[/+]on Nov 6, 2024
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.57-10 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:
@aimane-chnaif@CortneyOfstad The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed. Please copy/paste the BugZero Checklist from here into a new comment on this GH and complete it. If you have the K2 extension, you can simply click: [this button]
[Contributor] If the regression was CRITICAL (e.g. interrupts a core flow) A discussion in #expensify-open-source has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner.
Link to discussion: N/A
[Contributor] If it was decided to create a regression test for the bug, please propose the regression test steps using the template below to ensure the same bug will not reach production again.
Regression Test Proposal Template
[BugZero Assignee] Create a GH issue for creating/updating the regression test once above steps have been agreed upon.
Link to issue:
Regression Test Proposal
Precondition:
N/A
Test:
Sign in on OD
Click support > Concierge
Copy the transition link and close the tab
Logout on ND
Wait for 1 or 2 minute to wait until the auth token expired
Activity
MelvinBot commentedon Oct 28, 2024
This has been labelled "Needs Reproduction". Follow the steps here: https://stackoverflowteams.com/c/expensify/questions/16989
melvin-bot commentedon Oct 28, 2024
Triggered auto assignment to @CortneyOfstad (
Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details. Please add this bug to a GH project, as outlined in the SO.NJ-2020 commentedon Oct 28, 2024
Proposal
Please re-state the problem that we are trying to solve in this issue.
Clicking " Please sign in again" does nothing in "Session Expired" page
What is the root cause of that problem?
We should use goBack() function instead of navigate(), same like what we do here:
App/src/pages/LogInWithShortLivedAuthTokenPage.tsx
Lines 29 to 32 in 5103b4b
because it will remove the transition route from the history
App/src/pages/ErrorPage/SessionExpiredPage.tsx
Lines 35 to 39 in 5103b4b
Because if we use navigate, the transition history still persists which keeps showing the session expired page
App/src/libs/Navigation/AppNavigator/PublicScreens.tsx
Lines 24 to 33 in 5103b4b
What changes do you think we should make in order to solve the problem?
We should use goBack instead of navigate
OR
Result
Screen.Recording.2024-10-27.at.18.29.28.mov
What alternative solutions did you explore? (Optional)
CortneyOfstad commentedon Oct 28, 2024
I am not able to recreate, so going to see if the C+ can recreate based on the SO linked above
melvin-bot commentedon Oct 28, 2024
Job added to Upwork: https://www.upwork.com/jobs/~021851043610237148822
[-]Clicking " Please sign in again" does nothing in "Session Expired" page[/-][+][$250] Clicking " Please sign in again" does nothing in "Session Expired" page[/+]23 remaining items
NJ-2020 commentedon Nov 4, 2024
Ohh, thank you @aimane-chnaif
[-][$250] Clicking " Please sign in again" does nothing in "Session Expired" page[/-][+][HOLD for payment 2024-11-13] [$250] Clicking " Please sign in again" does nothing in "Session Expired" page[/+]melvin-bot commentedon Nov 6, 2024
Reviewinglabel has been removed, please complete the "BugZero Checklist".melvin-bot commentedon Nov 6, 2024
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.57-10 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:
If no regressions arise, payment will be issued on 2024-11-13. 🎊
For reference, here are some details about the assignees on this issue:
melvin-bot commentedon Nov 6, 2024
@aimane-chnaif @CortneyOfstad The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed. Please copy/paste the BugZero Checklist from here into a new comment on this GH and complete it. If you have the K2 extension, you can simply click: [this button]
aimane-chnaif commentedon Nov 6, 2024
BugZero Checklist:
Bug classification
Source of bug:
Where bug was reported:
Who reported the bug:
[Contributor] The offending PR has been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake.
Link to comment: https://github.com/Expensify/App/pull/48007/files#r1830232657
[Contributor] If the regression was CRITICAL (e.g. interrupts a core flow) A discussion in #expensify-open-source has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner.
Link to discussion: N/A
[Contributor] If it was decided to create a regression test for the bug, please propose the regression test steps using the template below to ensure the same bug will not reach production again.
[BugZero Assignee] Create a GH issue for creating/updating the regression test once above steps have been agreed upon.
Link to issue:
Regression Test Proposal
Precondition:
N/A
Test:
Do we agree 👍 or 👎
CortneyOfstad commentedon Nov 12, 2024
Thank you @aimane-chnaif!
CortneyOfstad commentedon Nov 13, 2024
Payment Summary
@NJ-2020 — paid $250 via Upwork
@aimane-chnaif — paid $250 via Upwork
Regression Test
https://github.com/Expensify/Expensify/issues/443985