-
Notifications
You must be signed in to change notification settings - Fork 3k
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 2024-11-01] [$250] Bank account - User is able to edit account number but the change does not take affect #49786
Comments
Triggered auto assignment to @jliexpensify ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.Bank account number is editable but reverted to previous value when saved. What is the root cause of that problem?When we try to edit the bank account number, the BE will return back the previous entered value. So, it looks like we are not allowed to change the number after we entered it and need to start over the process. What changes do you think we should make in order to solve the problem?Disable the bank account number field if we already entered it. We can check using App/src/pages/ReimbursementAccount/BankInfo/substeps/Manual.tsx Lines 78 to 101 in da37289
|
ProposalPlease re-state the problem that we are trying to solve in this issue.The user can edit the account number, but the change does not take effect. What is the root cause of that problem?When the user enters the bank account number and routing number, we need to verify them on the backend before the user moves to the next step. If the user edits the bank account number again, the backend still retain the previous value. What changes do you think we should make in order to solve the problem?We should disable both the routing number field and the bank account number field if hasBankAccountData is true. Add App/src/pages/ReimbursementAccount/BankInfo/substeps/Manual.tsx Lines 78 to 101 in da37289
What alternative solutions did you explore? (Optional) |
Job added to Upwork: https://www.upwork.com/jobs/~021840583568266999203 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @suneox ( |
@jliexpensify I would like to confirm if we allow users to edit their bank account numbers during the setup process. If not, we should disable the account bank number field when editing. If we do allow editing, the backend needs to be updated to handle this, and the frontend also validate the bank account number when edit to avoid submitting data with placeholders like |
Great call out @suneox - I am not sure myself. It makes sense that you should be able to edit, in case you make a mistake - but actually, on Old.Dot, I don't think you can so maybe the behaviour mirrors this? Asking - https://expensify.slack.com/archives/C036QM0SLJK/p1727690352864979 |
📣 @KashifAhmed! 📣
|
Contributor details |
✅ Contributor details stored successfully. Thank you for contributing to Expensify! |
Got a quick update @suneox - we want to mirror the behaviour of Expensify Classic for editing bank accounts, which is the ability to edit the account number prior to it being verified. Can you evaluate based off this? (Slack thread for internal engineer's reference) Also, I am OOO from the 3rd to 14th October, but going to keep myself assigned as I don't think payment will be needed before the 14th. |
@jliexpensify If we want to allow users to edit the account number, BE needs to accept the new value via the Screen.Recording.2024-10-01.at.12.04.17.mp4cc: @bernhardoj @cretadn22 We're waiting updated proposal for preventing the submission of invalid account numbers |
I think the point here is that we don't want to allow the user to edit the number if it's verified. In Expensify Classic, the number will be verified after submitting "Company information". But in New Expensify, the number is immediately verified. So, if we disable it using |
Oh interesting @bernhardoj, so are you saying if we count this issue as a bug, then this is technically a regression from #48767? |
@jliexpensify yes |
Great, thanks! Assigning @mountiny to this issue for review - it looks like #48767 changed the behaviour of the account flow, but it now doesn't mirror Classic. Is this intended? It sounds like we want to keep the flows the same. |
@jliexpensify In the manual bank connection flow from oldDot users can still edit their account numbers. Screen.Recording.2024-10-01.at.21.34.24.mp4
|
I'm doing the manual flow. You need to submit the Company Information first |
@cretadn22 what is your eta for the PR? |
@cretadn22 Please help to raise a quick PR |
I'm creating the PR, and it will be up today. |
Hmm, I didn't explicitly mention both the account and routing number, but you can see in my proposal that I include the routing number too from the permalink. |
@bernhardoj I appreciate your contribution. If we have the same case in the future, please help to elaborate it by word for a clear and enough proposal |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.53-1 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-01. 🎊 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:
|
Ok, little bit confusing - but is this Payment Summary correct?
|
@jliexpensify Done |
Thanks, any checklist needed here @DylanDylann? |
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: [@DylanDylann] The PR that introduced the bug has been identified. Link to the PR: NA Regression Test Proposal
Do we agree 👍 or 👎 |
@jliexpensify Posted the checklist |
Paid both, and job closed. |
@jliexpensify @mountiny Be sure to fill out the Contact List! |
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.40-1
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught during regression testing, add the test name, ID and link from TestRail: https://expensify.testrail.io/index.php?/tests/view/5009304
Email or phone of affected tester (no customers): applausetester+vd_ios092524@applause.expensifail.com
Issue reported by: Applause - Internal Team
Action Performed:
Pre-requisite: user must have created a Workspace and have enabled Workflows
Expected Result:
Behavior should be consistent, if the user is able to edit the account number, the change should take affect
Actual Result:
Behavior is not consistent, the user is able to edit the account number but the changed does not take effect
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6615499_1727311085437.bandicam_2024-09-25_20-29-30-959.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @jliexpensifyThe text was updated successfully, but these errors were encountered: