Closed IuliiaHerets closed 1 month ago
Triggered auto assignment to @garrettmknight (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.
:wave: 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:
Triggered auto assignment to @tylerkaraszewski (DeployBlockerCash
), see https://stackoverflowteams.com/c/expensify/questions/9980/ for more details.
offending PR https://github.com/Expensify/App/pull/49130, cc @CyberAndrii @s77rt @francoisl @
Bank account modal prompts user to verify account after being done validating
Here we set user
validated to true but then in this page we check for account?.Validated
https://github.com/Expensify/App/blob/0c618acc8b5a0b77eb27dfa049a18e3135c51c52/src/libs/actions/User.ts#L623-L627
We can change User
to ACCOUNT
https://github.com/Expensify/App/blob/0c618acc8b5a0b77eb27dfa049a18e3135c51c52/src/libs/actions/User.ts#L623-L627
Or we can keep the user and also add a new entry here
validated: true,
Damn, I accidentally reverted that line while I was reverting other changes :facepalm:
But I agree we should include both of them to be safe
{
onyxMethod: Onyx.METHOD.MERGE,
key: ONYXKEYS.ACCOUNT,
value: {
isLoading: false,
validated: true,
},
},
{
onyxMethod: Onyx.METHOD.MERGE,
key: ONYXKEYS.USER,
value: {
validated: true,
},
},
@CyberAndrii This happens only optimistically right? IOW if we refresh the page the error would disappear? If so, I agree with the suggested solution, please raise a PR asap
PR is ready.
@s77rt after reloading (without the changes from the PR) the error don't disappear. However, I don’t think we need a BE fix here
@CyberAndrii If you logout and login, do you still see the error?
This bug could be related to the BE if that flow is still using user.validated
internally. If that's the case we should revert the PR (to unblock the deploy), make the necessary changed in BE and then re-submit the PR (basically same as the plan)
No error, BE sets the value correctly
Unfortunately I'm unable to reproduce the bug (asked in Slack). @ishpaul777 If you can reproduce both the initial bug and this new bug, do you want to take that issue over and review/test the follow up PR?
sure i can try reproducing... 👀
let discusss on Slack https://expensify.slack.com/archives/C01GTK53T8Q/p1726358698700859
We discussed and decided to move forward with the fix proposed in https://github.com/Expensify/App/pull/49221
please assign me so this is on my K2 🙏
Reviewing
label has been removed, please complete the "BugZero Checklist".
The solution for this issue has been :rocket: deployed to production :rocket: in version 9.0.35-7 and is now subject to a 7-day regression period :calendar:. Here is the list of pull requests that resolve this issue:
If no regressions arise, payment will be issued on 2024-09-23. :confetti_ball:
For reference, here are some details about the assignees on this issue:
BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:
Payment Summary:
[Upwork Job]()
No regression test and checklist requires, since this was caught in normal deploy QA process and we already know offending PR https://github.com/Expensify/App/pull/49221
Job added to Upwork: https://www.upwork.com/jobs/~021839023851099596990
Current assignee @ishpaul777 is eligible for the External assigner, not assigning anyone new.
@ishpaul777 offer out to you
Thank You. Offer Accepted !
Paid, closing!
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Version Number: 9.0.35-0 Reproducible in staging?: Y Reproducible in production?: N Email or phone of affected tester (no customers): nathanmulugetatesting+1484@gmail.com Issue reported by: Applause Internal Team
Action Performed:
Expected Result:
After validating account bank account setup continues
Actual Result:
After validating account bank account setup continues
Workaround:
Unknown
Platforms:
Screenshots/Videos
https://github.com/user-attachments/assets/2d15efbe-babb-4e66-adcd-88730c0a23bc
View all open jobs on GitHub
Issue Owner
Current Issue Owner: @Upwork Automation - Do Not Edit