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
[$500] Login - Can't go back after trying to log in using another tab with invalid code #34584
EngineeringExternalAdded to denote the issue can be worked on by a contributorHelp WantedApply this label when an issue is open to proposals by contributorsReviewingHas a PR in reviewWeeklyKSv2
Version Number: 1.4.25-7 Reproducible in staging?: Y Reproducible in production?: N 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: Applause - Internal Team Slack conversation:
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:
Identify the pull request that introduced this issue and revert it.
changed the title [-]Login - Can't go back after trying to log in using another tab with invalid code[/-][+][$500] Login - Can't go back after trying to log in using another tab with invalid code[/+]on Jan 16, 2024
The Onyx.multiSet in the block above doesn't work as expected, even though it gets called, the keys are not set to null.
What changes do you think we should make in order to solve the problem?
If we're looking for a quick, working solution then instead of Onyx.multiSet we should use Onyx.set twice.
Once we unblocked deploy, we should figure out why Onyx.multiSet doesn't work in this edge case.
EngineeringExternalAdded to denote the issue can be worked on by a contributorHelp WantedApply this label when an issue is open to proposals by contributorsReviewingHas a PR in reviewWeeklyKSv2
Activity
github-actions commentedon Jan 16, 2024
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:
melvin-bot commentedon Jan 16, 2024
Triggered auto assignment to @AndrewGable (
Engineering), see https://stackoverflow.com/c/expensify/questions/4319 for more details.kbecciv commentedon Jan 16, 2024
Issue is not reproducible in production
bandicam.2024-01-16.18-00-28-104.1.mp4
[-]Login - Can't go back after trying to log in using another tab with invalid code[/-][+][$500] Login - Can't go back after trying to log in using another tab with invalid code[/+]melvin-bot commentedon Jan 16, 2024
Job added to Upwork: https://www.upwork.com/jobs/~01f8455532fbcf8436
melvin-bot commentedon Jan 16, 2024
Triggered auto assignment to Contributor-plus team member for initial proposal review - @mollfpr (
External)dummy-1111 commentedon Jan 16, 2024
This looks like a regression of this PR #33554 (Onyx update)
ikevin127 commentedon Jan 16, 2024
Proposal
Please re-state the problem that we are trying to solve in this issue
The "Go back" button is unresponsive after trying to log in using another tab with invalid code.
What is the root cause of that problem?
App/src/libs/actions/Session/index.ts
Lines 593 to 598 in ee77046
The
Onyx.multiSetin the block above doesn't work as expected, even though it gets called, the keys are not set tonull.What changes do you think we should make in order to solve the problem?
If we're looking for a quick, working solution then instead of
Onyx.multiSetwe should useOnyx.settwice.Once we unblocked deploy, we should figure out why
Onyx.multiSetdoesn't work in this edge case.Videos
MacOS: Chrome / Safari
Screen.Recording.2024-01-16.at.19.28.56.mov
mountiny commentedon Jan 16, 2024
@ikevin127 Are you suggesting this is repro in production too? because this code has been around for a while
situchan commentedon Jan 16, 2024
It's possible that the root cause came from recent Onyx update.
ikevin127 commentedon Jan 16, 2024
@mountiny It's only reproducible on staging / dev, it didn't get to production yet.
mountiny commentedon Jan 16, 2024
I am trying a test build on the revert of the onyx bump #34596
AndrewGable commentedon Jan 16, 2024
@mountiny fixed with his revert