-
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-08-08] Bank account - Personal information is cleared after returning to it from 'Connect BA' page #23408
Comments
Triggered auto assignment to @trjExpensify ( |
Bug0 Triage Checklist (Main S/O)
|
ProposalPlease re-state the problem that we are trying to solve in this issue.The personal information is cleared when returning to it from the Connect bank account page What is the root cause of that problem?The personal information is stored in Onyx under key What changes do you think we should make in order to solve the problem?The backend should not reset the Onyx data as the bank account has not changed. What alternative solutions did you explore? (Optional)N/A |
I can reproduce this one. Adding |
Triggered auto assignment to @Li357 ( |
Job added to Upwork: https://www.upwork.com/jobs/~011bb3d019d1ea96da |
Triggered auto assignment to Contributor Plus for review of internal employee PR - @situchan ( |
Is this a bug if you did not hit "Save and Continue" to save the personal details? Do we always save optimistically? |
Yeah, we optimistically save in the connect bank account flow. Here's the company details page for ref: f0IL0OBl2q.mp4 |
Hmm, I think the company information is saved because the user presses the "Save and Continue" button to move to the next step, Personal Details. But if you don't press "Save and Continue" on Personal Details, then it doesn't save, so I don't think this is a bug. Unless we want to change the behavior here. Under the hood I think this is happening because we actually do save a local copy of partial inputs (without hitting "Save and Continue") but then when you back out to the first Bank Account page, we sent an update to Onyx which sees that its remote copy does not include partial inputs, and so it resets the Personal Details to be the remote copy. |
Oh, but in this video I didn't click "save & continue" on the company info step. Why do we treat that differently?
|
Hmm, I'm not really sure why it worked for company details... but this is a bug because we tried to access a property in the wrong way, so the bankAccountID, which was saved, was not actually sent back to the server. Working on a fix. |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.48-5 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-08-08. 🎊 After the hold period is over and BZ checklist items are completed, please complete any of the applicable payments for this issue, and check them off once done.
For reference, here are some details about the assignees on this issue:
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:
|
@situchan can you get a head start on the checklist, please? Thanks! |
This bug was caught by Applause team so I believe this test case is already in VBA flow in testrail and no more test case is needed. @trjExpensify can you please confirm? |
Yup, it is! :) Only payment due here is $1,000 for the C+ review of the internal PR by @situchan. I've sent you an offer on this job here. |
Settled up! |
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:
All fields on ' Personal Information' page have been saved
Actual Result:
All fields on ' Personal Information' page have been cleared
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: 1.3.44.0
Reproducible in staging?: Yes
Reproducible in production?: Yes
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
Notes/Photos/Videos: Any additional supporting documentation
Bug6137848_BA-Personal-Info-cleared-after-Back-from-connectBA.mp4
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: