-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[HOLD for payment 2023-02-01] Console error appears when clicking Save&Continue
without selecting the bank account after successful plaid flow.
#13598
Comments
Triggered auto assignment to @flaviadefaria ( |
Nabbing this and taking it internal to complete - you shouldn't be able to hit Save & Continue without selecting the bank account |
I've been digging into this and found out why this happens When we load that page, we get the selectedPlaidAccountID from
the reimbursement account draft App/src/libs/ReimbursementAccountUtils.js Lines 24 to 27 in 91f7bac
Basically, if we've already gotten to this step and select an account, we'll have stored the bank account in that onyx key. So when you come back to it, it grabs that selectedAccountID from the old bank account |
An easy way to reproduce is
You can just fix it by signing out which will clear your onyx data. This problem only happens when you decide to go back and reconnect to another bank account with plaid. |
Should be fixed by #13236 |
As a note, I'm going to be OOO from Dec 23rd to January 9th. In case this needs to be paid before the week of January 9th then please reassign. |
@nkuoch and @thienlnam can I close this GH given this will be fixed by #13236? |
Let's keep it open, and it will close once the PR is deployed. Meanwhile, let's just switch it to weekly |
@nkuoch, @thienlnam, @flaviadefaria Whoops! This issue is 2 days overdue. Let's get this updated quick! |
Linked PR #13236 is in review |
If you are the assigned CME please investigate whether the linked PR caused a regression and leave a comment with the results. If a regression has occurred and you are the assigned CM follow the instructions here. If this regression could have been avoided please consider also proposing a recommendation to the PR checklist so that we can avoid it in the future. |
Save&Continue
without selecting the bank account after successful plaid flow.Save&Continue
without selecting the bank account after successful plaid flow.
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.2.58-4 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 2023-02-01. 🎊 After the hold period, please check if any of the following need payment for this issue, and if so check them off after paying:
As a reminder, here are the bonuses/penalties that should be applied for any External 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:
|
Switching this back to daily so that I don't miss payment. |
Chill Melvin, I'm only paying them on the 1st. |
I'm going to issue payment to @Pujan92 for reporting the bug. Once that's done are we good to close this @nkuoch and @thienlnam? |
Payment has been made to @Pujan92. I'm going to close this, but please reopen it in case I missed something. |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Action Performed:
Expected Result:
Should show the related error(Choose the account plz) and console error shouldn’t be there
Actual Result:
Console error(Cannot read properties of undefined (reading ‘routingNumber’))
Workaround:
Can the user still use Expensify without this being fixed? Have you informed them of the workaround?
Platform:
Where is this issue occurring?
Version Number: 1.2.39-0
Reproducible in staging?: y
Reproducible in production?: Could not check
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos:
Recording.1102.mp4
Screen.Recording.2022-12-14.at.7.11.10.PM.mov
Expensify/Expensify Issue URL:
Issue reported by: @Pujan92
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1671026877428529
View all open jobs on GitHub
The text was updated successfully, but these errors were encountered: