You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Due for payment 2026-03-24] Bank account - Employee lands on wallet page after adding PBA from expense details page #85191
Version Number: 9.3.37.0 Reproducible in staging?: Yes Reproducible in production?: Unable to validate in Prod - Provide reasoning. If this was caught during regression testing, add the test name, ID and link from BrowserStack:https://test-management.browserstack.com/projects/2219752/test-runs/TR-8761/folder/13176702/41236794/1247679782 Email or phone of affected tester (no customers):kiatest.78+ck31226100@gmail.com Issue reported by: Applause Internal Team Bug source: Exploratory - Significant User Experience Deterioration Device used: Windows 11/Chrome, iPhone 16/iOS 18.7.1, Pixel 8a/Android 16 App Component: Money Requests
Action Performed:
Precondition :
Admin has set up bank account (VBA) in workspace settings
Admin has invited member to workspace
Employee has submitted expense in workspace chat
Admin has approved & paid employee's expense with VBA
Steps:
Navigate to staging.new.expensify.com or launch hybrid app
Log in as employee
Go to expense details page
Click "Add Bank account" button
Add personal bank account (use Regions bank >> 0000 checking account)
Tap Continue button on bank account added animation page
Observe user redirected to wallet page instead of expense details page
Expected Result:
After adding PBA & tapping continue button in animation page, user should be redirected to expense details page showing Paid status & system message displayed as "paid with bank account xxxx via Workspace rules"
Actual Result:
Employee lands on wallet page instead of expense details page after adding PBA & tapping continue button in animation page. Tapping back button from wallet page, navigates user to add bank account page & where's your bank located page, then displaying before expense details page
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:
Identify the pull request that introduced this issue and revert it.
Classification: Frontend bug Causing PR: #84158 - "Implement query parameters handling in dynamic routes" by @collectioneur (High confidence) Related Issues: None found
Recommendation: REVERT
PR #84158 introduced significant changes to the navigation system for handling query parameters in dynamic routes. While the changes were well-intentioned to support query params in dynamic routes (like country?country=US), they appear to have introduced a regression in the bank account setup flow navigation.
Labels: Keeping DeployBlockerCash - this is a frontend bug affecting the App deploy
📋 Detailed Analysis
Evidence
PR #84158 modified core navigation helpers and specifically touched the exact flow mentioned in this bug:
PR #84158 modified the navigation logic that determines how to navigate back after completing a dynamic route flow, which directly impacts the bank account setup completion navigation.
Root Cause
The PR refactored how dynamic routes handle query parameters and navigation. The changes to getPathWithoutDynamicSuffix.ts and related navigation helpers likely broke the navigation chain that should return users to the expense details page after adding a bank account. Instead, the navigation falls back to the default wallet page.
Specifically, the getPathWithoutDynamicSuffix function now returns an empty string when the path becomes empty or / (lines 40-42), and the query parameter stripping logic may be interfering with preserving the correct navigation context.
changed the title [-]Bank account - Employee lands on wallet page after adding PBA from expense details page[/-][+][Due for payment 2026-03-24] Bank account - Employee lands on wallet page after adding PBA from expense details page[/+]on Mar 17, 2026
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.3.38-4 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:
Activity
melvin-bot commentedon Mar 13, 2026
Triggered auto assignment to @nkuoch (
DeployBlockerCash), see https://stackoverflowteams.com/c/expensify/questions/9980/ for more details.melvin-bot commentedon Mar 13, 2026
💬 A slack conversation has been started in #expensify-open-source
github-actions commentedon Mar 13, 2026
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:
OSBotify commentedon Mar 13, 2026
🔍 Investigation Summary
Classification: Frontend bug
Causing PR: #84158 - "Implement query parameters handling in dynamic routes" by @collectioneur (High confidence)
Related Issues: None found
Recommendation: REVERT
PR #84158 introduced significant changes to the navigation system for handling query parameters in dynamic routes. While the changes were well-intentioned to support query params in dynamic routes (like
country?country=US), they appear to have introduced a regression in the bank account setup flow navigation.Labels: Keeping
DeployBlockerCash- this is a frontend bug affecting the App deploy📋 Detailed Analysis
Evidence
PR #84158 modified core navigation helpers and specifically touched the exact flow mentioned in this bug:
src/libs/Navigation/helpers/dynamicRoutesUtils/getPathWithoutDynamicSuffix.ts- added query parameter stripping logicsrc/libs/Navigation/helpers/dynamicRoutesUtils/createDynamicRoute.ts- added query parameter merging logicsrc/libs/actions/BankAccounts.ts- imports for the new navigation helperssrc/pages/settings/Wallet/WalletPage/index.tsxandPaymentMethodList.tsxThe PR test steps specifically included:
This matches the affected flow in this bug report.
Verification
The bug occurs when:
Files affected by the bug:
/home/runner/_work/App/App/src/pages/AddPersonalBankAccountPage.tsx- handles the success page and Continue button/home/runner/_work/App/App/src/libs/actions/PaymentMethods.ts-continueSetupfunction that handles navigation after success/home/runner/_work/App/App/src/libs/Navigation/helpers/dynamicRoutesUtils/getPathWithoutDynamicSuffix.ts- navigation helper modified by PR Implement query parameters handling in dynamic routes #84158PR #84158 modified the navigation logic that determines how to navigate back after completing a dynamic route flow, which directly impacts the bank account setup completion navigation.
Root Cause
The PR refactored how dynamic routes handle query parameters and navigation. The changes to
getPathWithoutDynamicSuffix.tsand related navigation helpers likely broke the navigation chain that should return users to the expense details page after adding a bank account. Instead, the navigation falls back to the default wallet page.Specifically, the
getPathWithoutDynamicSuffixfunction now returns an empty string when the path becomes empty or/(lines 40-42), and the query parameter stripping logic may be interfering with preserving the correct navigation context.5 remaining items
mjasikowski commentedon Mar 13, 2026
Will merge the PR fix in a moment and request CP
mjasikowski commentedon Mar 13, 2026
CP requested here: https://expensify.slack.com/archives/C07J32337/p1773403933760359
luacmartins commentedon Mar 13, 2026
It seems like this is fixed #85191 (comment). Closing.
[-]Bank account - Employee lands on wallet page after adding PBA from expense details page[/-][+][Due for payment 2026-03-24] Bank account - Employee lands on wallet page after adding PBA from expense details page[/+]melvin-bot commentedon Mar 17, 2026
Reviewinglabel has been removed, please complete the "BugZero Checklist".melvin-bot commentedon Mar 17, 2026
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.3.38-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 2026-03-24. 🎊
For reference, here are some details about the assignees on this issue:
melvin-bot commentedon Mar 17, 2026
Triggered auto assignment to @mallenexpensify (
Awaiting Payment)