-
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-06-30] Bank-account - The emply account number have 'The routing number and account number cannot be the same' instead of 'Please enter a valid routing number' #21222
Comments
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open
|
Triggered auto assignment to @chiragsalian ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.Wrong error when same account number and route number are entered and then removed. What is the root cause of that problem?Here we don't check if account number/route number is empty. App/src/pages/ReimbursementAccount/BankAccountManualStep.js Lines 49 to 51 in 0b7455f
What changes do you think we should make in order to solve the problem?We should change the condition above to - if (values.accountNumber && values.accountNumber === routingNumber) so that only if What alternative solutions did you explore? (Optional)Alternatively, we can also use |
ProposalPlease re-state the problem that we are trying to solve in this issue.Bank-account - The emply account number have 'The routing number and account number cannot be the same' instead of 'Please enter a valid routing number' What is the root cause of that problem?For the same field, we have 2 different if conditions separately with which 2nd truthy condition updates/overwrites the previous errorField What changes do you think we should make in order to solve the problem?For the same field we can convert the same number condition to App/src/pages/ReimbursementAccount/BankAccountManualStep.js Lines 40 to 51 in 8a6fc7a
ResultScreen.Recording.2023-06-21.at.10.14.00.PM.mp4 |
Thank you for the proposals. Edit: I've used @Pujan92 solution |
@chiragsalian isn't it good to put the conditions with if/else-if for same keys to avoid overwriting the errors, I thought we already checking |
I'm not too concerned about avoiding overwriting the errors because both solutions prevents overwriting the errors. Although now I understand your solution better and I like it more since it DRYs up the code and makes it easier to read imo. |
Removing the blocker label since we merged/CPed the fix. |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.30-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-06-29. 🎊 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.
As a reminder, here are the bonuses/penalties that should be applied for any External issue:
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.31-3 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-06-30. 🎊 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.
As a reminder, here are the bonuses/penalties that should be applied for any External issue:
|
Oops this slipped my radar. I thought someone was already assigned to help out here. |
Triggered auto assignment to @kadiealexander ( |
Bug0 Triage Checklist (Main S/O)
|
@kadiealexander can you help to pay @Pujan92 since i used his proposal. |
How much am I paying, @chiragsalian? |
I'm not sure, i asked in #bug-zero on slack. |
Thanks. @kadiealexander accepted. |
Thanks @Pujan92, I've paid this! |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Issue found when executing PR #20560
Action Performed:
Expected Result:
The empty account number field should be 'Please enter a valid routing number' instead of 'The routing number and account number cannot be the same'
Actual Result:
The empty account number field is 'Please enter a valid routing number' at first, until the routing number is cleared and it becomes 'The routing number and account number cannot be the same'
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: 1.3.30.0
Reproducible in staging?: Yes
Reproducible in production?: No
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
Bug6101477_Screen_Recording_20230621_221052_Chrome.mp4
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
View all open jobs on GitHub
The text was updated successfully, but these errors were encountered: