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-05-26] [Due for payment 2026-05-26] Wallet - RHP shows not here page after deleting card #90848
Version Number: 9.3.74-7 Reproducible in staging?: Yes Reproducible in production?: N/A - new feature, doesn't exist in prod If this was caught during regression testing, add the test name, ID and link from BrowserStack: - Email or phone of affected tester (no customers):sdsdjoijdoisnjodis@gmail.com Issue reported by: Applause Internal Team Bug source: Exploratory - Significant User Experience Deterioration Device used: Mac 26.2 / Chrome App Component: Money Requests
Action Performed:
Go to staging.new.expensify.com
Go to Account > Wallet.
Click Import transactions.
Click Card display name and enter name.
Click Next.
Upload a file.
Map Date column.
Click Import.
Click on the imported card.
Click Delete > Delete.
Expected Result:
RHP will not show not here page after deleting card.
👋 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.
When deleting an imported card, confirmDeleteCard calls Navigation.goBack()without a target route, then immediately calls deletePersonalCard(...). The deletePersonalCard action optimistically sets the card to null in Onyx via CARD_LIST. Since goBack() without arguments just pops the navigation stack (and on wide screens the RHP stays mounted), PersonalCardDetailsPage re-renders before navigation completes, finds card is null, and renders <NotFoundPage />.
Note the header back button on line 152 already uses the correct pattern: Navigation.goBack(ROUTES.SETTINGS_WALLET).
What changes do you think we should make in order to solve the problem?
This ensures navigation goes specifically to the Wallet page, properly dismissing the RHP before the optimistic update removes the card from Onyx.
What alternative solutions did you explore? (Optional)
An alternative would be to call deletePersonalCard first and reactively trigger navigation via a useEffect when the card disappears from Onyx. However, this adds unnecessary complexity when the simpler fix of providing an explicit back route (matching the existing header back button pattern on line 152) addresses the issue directly.
Related issue
#78893 describes a similar "not here page" symptom in the wallet RHP for bank accounts after admin removal — same navigation pattern issue.
Next Steps for Contributor+ team: Reply with @MelvinBot implement this to create a draft PR, @MelvinBot <your feedback> to refine this analysis, or explain why you are rejecting Melvin's proposal.
changed the title [-]Wallet - RHP shows not here page after deleting card[/-][+][Due for payment 2026-05-26] Wallet - RHP shows not here page after deleting card[/+]on May 19, 2026
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.3.75-14 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:
@roryabraham 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]
changed the title [-][Due for payment 2026-05-26] Wallet - RHP shows not here page after deleting card[/-][+][Due for payment 2026-05-26] [Due for payment 2026-05-26] Wallet - RHP shows not here page after deleting card[/+]on May 19, 2026
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.3.77-3 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:
@roryabraham 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]
Activity
melvin-bot commentedon May 15, 2026
Triggered auto assignment to @roryabraham (
DeployBlockerCash), see https://stackoverflowteams.com/c/expensify/questions/9980/ for more details.melvin-bot commentedon May 15, 2026
💬 A slack conversation has been started in #expensify-open-source
github-actions commentedon May 15, 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:
MelvinBot commentedon May 15, 2026
Proposal
What is the root cause of that problem?
When deleting an imported card,
confirmDeleteCardcallsNavigation.goBack()without a target route, then immediately callsdeletePersonalCard(...). ThedeletePersonalCardaction optimistically sets the card tonullin Onyx viaCARD_LIST. SincegoBack()without arguments just pops the navigation stack (and on wide screens the RHP stays mounted),PersonalCardDetailsPagere-renders before navigation completes, findscardisnull, and renders<NotFoundPage />.Note the header back button on line 152 already uses the correct pattern:
Navigation.goBack(ROUTES.SETTINGS_WALLET).What changes do you think we should make in order to solve the problem?
Change line 116 from:
to:
This ensures navigation goes specifically to the Wallet page, properly dismissing the RHP before the optimistic update removes the card from Onyx.
What alternative solutions did you explore? (Optional)
An alternative would be to call
deletePersonalCardfirst and reactively trigger navigation via auseEffectwhen the card disappears from Onyx. However, this adds unnecessary complexity when the simpler fix of providing an explicit back route (matching the existing header back button pattern on line 152) addresses the issue directly.Related issue
#78893 describes a similar "not here page" symptom in the wallet RHP for bank accounts after admin removal — same navigation pattern issue.
Next Steps for Contributor+ team: Reply with
@MelvinBot implement thisto create a draft PR,@MelvinBot <your feedback>to refine this analysis, or explain why you are rejecting Melvin's proposal.1 remaining item
roryabraham commentedon May 18, 2026
requested retest: https://expensify.slack.com/archives/C09V78U42D8/p1779137321952629
m-natarajan commentedon May 18, 2026
Not repro, Chrome / v9.3.75-10
REC-20260518235711.mp4
[-]Wallet - RHP shows not here page after deleting card[/-][+][Due for payment 2026-05-26] Wallet - RHP shows not here page after deleting card[/+]melvin-bot commentedon May 19, 2026
Reviewinglabel has been removed, please complete the "BugZero Checklist".melvin-bot commentedon May 19, 2026
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.3.75-14 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-05-26. 🎊
melvin-bot commentedon May 19, 2026
@roryabraham 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]
[-][Due for payment 2026-05-26] Wallet - RHP shows not here page after deleting card[/-][+][Due for payment 2026-05-26] [Due for payment 2026-05-26] Wallet - RHP shows not here page after deleting card[/+]melvin-bot commentedon May 19, 2026
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.3.77-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 2026-05-26. 🎊
melvin-bot commentedon May 19, 2026
@roryabraham 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]