Description
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: v9.1.98-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: #67519
Email or phone of affected tester (no customers): applausetester+dp265@applause.expensifail.com
Issue reported by: Applause Internal Team
Device used: Mac / Safari
App Component: Other
Action Performed:
Prerequisites: Use E account
- Go to a workspace with non-USD currency (e.g., EUR).
- Navigate to Workflows → Add Bank Account → Connect Manually.
- Select Country = Czech Republic and enter IBAN = CZ5508000000001234567899.
- Continue to the next step, enter address, and proceed to the next step.
- Close the RHP (Right-Hand Panel).
- Open the Add Bank Account flow again.
- On the RHP, click Start Over.
- Confirm the warning modal.
Expected Result:
After clicking Start Over and confirming, the Add Bank Account flow should restart from the beginning, and all previously entered data should be cleared.
Actual Result:
After confirming, the flow restarts, but all previously entered data is still visible.
User must close the RHP a second time to finally erase the previously entered data.
Workaround:
Unknown
Platforms:
- Android: App
- Android: mWeb Chrome
- iOS: App
- iOS: mWeb Safari
- iOS: mWeb Chrome
- Windows: Chrome
- MacOS: Chrome / Safari
- MacOS: Desktop
Screenshots/Videos
1.mp4
Upwork Automation - Do Not Edit
- Upwork Job URL: https://www.upwork.com/jobs/~021961188727014869011
- Upwork Job ID: 1961188727014869011
- Last Price Increase: 2025-08-28
Issue Owner
Current Issue Owner: @garrettmknightMetadata
Metadata
Labels
Type
Projects
- StatusShow more project fieldsDone
Activity
melvin-bot commentedon Aug 25, 2025
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.nyomanjyotisa commentedon Aug 25, 2025
Proposal
Please re-state the problem that we are trying to solve in this issue.
“Start Over” in Add Bank Account flow does not clear previously entered data
What is the root cause of that problem?
We are not clearing the
ONYXKEYS.FORMS.REIMBURSEMENT_ACCOUNT_FORM_DRAFTonoptimisticDatahereApp/src/libs/actions/ReimbursementAccount/resetNonUSDBankAccount.ts
Lines 18 to 36 in 47fdebd
The draft form is only cleared in the
successDataApp/src/libs/actions/ReimbursementAccount/resetNonUSDBankAccount.ts
Lines 37 to 48 in 47fdebd
What changes do you think we should make in order to solve the problem?
Add the draft form clearing to the
optimisticDataWhat specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?
None
What alternative solutions did you explore? (Optional)
We can check if a bank account exists in
achDatabefore calling theResetBankAccountSetupAPI. If no bank account exists, we should clear the local Onyx data directly instead of making the API callApp/src/libs/actions/ReimbursementAccount/resetNonUSDBankAccount.ts
Line 13 in 47fdebd
daledah commentedon Aug 25, 2025
BE sends 400 error for
ResetBankAccountSetupAPI so success data is not appliedIMO we should only clear user draft if the request success so current FE logic is fine.
garrettmknight commentedon Aug 25, 2025
Posted for an internal volunteer.
mountiny commentedon Aug 25, 2025
Isnt this regression from #69130 @allgandalf @DylanDylann ?
DylanDylann commentedon Aug 25, 2025
@mountiny It seems you mentioned wrong link
mountiny commentedon Aug 25, 2025
This one, sorry #67519
DylanDylann commentedon Aug 25, 2025
@mountiny I think no. I agree with @daledah's comment
madmax330 commentedon Aug 25, 2025
cc @MrMuzyk @hungvu193 can this be one of our PRs?
MrMuzyk commentedon Aug 26, 2025
I dont think so. We havent merged anything in weeks and it used to work fine. I remember we did plenty of iterations because the reset wasn't being applied correctly.
It seems like a BE issue. I havent checked it myself but looking at the comments we're getting 400 from BE #69130 (comment)
37 remaining items
[-][$375] “Start Over” in Add Bank Account flow does not clear previously entered data[/-][+][Due for payment 2025-09-19] [$375] “Start Over” in Add Bank Account flow does not clear previously entered data[/+]melvin-bot commentedon Sep 12, 2025
Reviewinglabel has been removed, please complete the "BugZero Checklist".melvin-bot commentedon Sep 12, 2025
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.2.12-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 2025-09-19. 🎊
For reference, here are some details about the assignees on this issue:
melvin-bot commentedon Sep 12, 2025
@allroundexperts @garrettmknight The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed. Please copy/paste the BugZero Checklist from here into a new comment on this GH and complete it. If you have the K2 extension, you can simply click: [this button]
allroundexperts commentedon Sep 13, 2025
BugZero Checklist:
Bug classification
Source of bug:
Where bug was reported:
Who reported the bug:
[Contributor] The offending PR has been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake.
Link to comment: I wasn't able to pinpoint the exact PR here. It seems like a case which was never catered for in any of the PR.
[Contributor] If the regression was CRITICAL (e.g. interrupts a core flow) A discussion in #expensify-open-source has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner.
Link to discussion: N/A
[Contributor] If it was decided to create a regression test for the bug, please propose the regression test steps using the template below to ensure the same bug will not reach production again.
[BugZero Assignee] Create a GH issue for creating/updating the regression test once above steps have been agreed upon.
Link to issue:
Regression Test Proposal
Precondition:
GLOBAL_REIMBURSEMENTS_ON_NDbeta turned onTest:
Verify all previously entered data is cleared.
Do we agree 👍 or 👎
garrettmknight commentedon Sep 15, 2025
@nkdengineer offer is out to you! https://www.upwork.com/nx/wm/offer/108784507
garrettmknight commentedon Sep 19, 2025
Payment summary:
trjExpensify commentedon Jan 5, 2026
approved $375 for @allroundexperts.