Repository navigation
Closed
Labels
Awaiting PaymentAuto-added when associated PR is deployed to productionAuto-added when associated PR is deployed to productionBugSomething is broken. Auto assigns a BugZero manager.Something is broken. Auto assigns a BugZero manager.DailyKSv2KSv2EngineeringExternalAdded to denote the issue can be worked on by a contributorAdded to denote the issue can be worked on by a contributorReviewingHas a PR in reviewHas a PR in review
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.3.26-0
Reproducible in staging?: Yes
Reproducible in production?: No
If this was caught during regression testing, add the test name, ID and link from BrowserStack: #79530
Email or phone of affected tester (no customers): applausetester+ds@applause.expensifail.com
Issue reported by: Applause Internal Team
Bug source: Pull Request QA execution
Device used: Mac 14.5/ Chrome
App Component: Money Requests
Action Performed:
- Navigate to https://staging.new.expensify.com/
- Go to a chat and create a single expense
- Open the expense
- Click the report details (header)
- Delete the expense from the details page
Expected Result:
Navigates back smoothly, no "Not Found" flash, no errors
Actual Result:
"Not Found" page flash when navigates back
Workaround:
Unknown
Platforms:
- Android: App
- Android: mWeb Chrome
- iOS: App
- iOS: mWeb Safari
- iOS: mWeb Chrome
- Windows: Chrome
- MacOS: Chrome / Safari
Screenshots/Videos
Bug7088623_1772052012444.Screen_Recording_2026-02-25_at_11.29.09_at_night.mp4
Issue Owner
Current Issue Owner: @mallenexpensifyUpwork Automation - Do Not Edit
- Upwork Job URL: https://www.upwork.com/jobs/~022026850578182079486
- Upwork Job ID: 2026850578182079486
- Last Price Increase: 2026-02-26
Metadata
Metadata
Labels
Awaiting PaymentAuto-added when associated PR is deployed to productionAuto-added when associated PR is deployed to productionBugSomething is broken. Auto assigns a BugZero manager.Something is broken. Auto assigns a BugZero manager.DailyKSv2KSv2EngineeringExternalAdded to denote the issue can be worked on by a contributorAdded to denote the issue can be worked on by a contributorReviewingHas a PR in reviewHas a PR in review
Type
Projects
- StatusShow more project fieldsDone
Activity
melvin-bot commentedon Feb 26, 2026
You have been assigned to this deploy blocker because you recently merged this PR: #79530
melvin-bot commentedon Feb 26, 2026
💬 A slack conversation has been started in #expensify-open-source
melvin-bot commentedon Feb 26, 2026
Triggered auto assignment to @bfitzexpensify (
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.github-actions commentedon Feb 26, 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 Feb 26, 2026
Investigation Summary
Classification: Frontend bug
Causing PR: #79530 - "show not found page for deleted duplicate expense" by @marufsharifi (High confidence)
Related Issues: This is a regression from the fix for #78338
Recommendation: REVERT
PR #79530 introduced a race condition that causes a brief "Not Found" page flash when deleting expenses through the normal flow.
Labels: Removed
DeployBlocker(backend label not needed for frontend bug)Detailed Analysis
Evidence
Verification
PR #79530 modified the following files related to transaction deletion navigation:
src/pages/inbox/ReportScreen.tsx- AddedisDeletedTransactionThreadlogicsrc/components/MoneyReportHeader.tsx- AddedsetDeleteTransactionNavigateBackUrlcallssrc/components/MoneyRequestHeader.tsx- AddedsetDeleteTransactionNavigateBackUrlcallssrc/pages/ReportDetailsPage.tsx- UsessetDeleteTransactionNavigateBackUrlsrc/libs/TransactionNavigationUtils.ts- New utility functions for deletion navigationThe changes directly affect the expense deletion flow mentioned in the issue.
Root Cause
The PR introduced new logic in
ReportScreen.tsx(lines 482-536) to handle deleted transaction threads:Race condition: When deleting an expense from ReportDetailsPage:
setDeleteTransactionNavigateBackUrl()is calledisDeletedTransactionThreadevaluates totruedeleteTransactionNavigateBackUrlpropagates to ReportScreen,shouldShowNotFoundPageevaluates totrueThe PR was intended to fix the "forward button after delete" issue (#78338) but introduced this regression in the normal deletion flow. Test 4 in the PR specifically tested this scenario but apparently did not catch the flash.
38 remaining items
mallenexpensify commentedon Mar 20, 2026
Payment Summary
Contributor+: @Krishna2323 due $250 via NewDot
fwiw.. I should have said... "It this a regression" (cuz I didn't know)
@Krishna2323 plz complete the BZ checklist and tag me in a post once you have. Thx
Also... if anyone else is due payment, please comment with deets.
melvin-bot commentedon Mar 30, 2026
@mallenexpensify Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!
melvin-bot commentedon Mar 30, 2026
@mallenexpensify Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!
melvin-bot commentedon Mar 30, 2026
@mallenexpensify Whoops! This issue is 2 days overdue. Let's get this updated quick!
melvin-bot commentedon Apr 1, 2026
@mallenexpensify Huh... This is 4 days overdue. Who can take care of this?
Krishna2323 commentedon Apr 1, 2026
BugZero Checklist:
[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: 80663: Expense - Not here page opens after deleting expense #80674 (comment)
[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: https://github.com/Expensify/Expensify/issues/619642
Regression Test Proposal
Precondition:
Test:
Slow device test:
Offline tests
Do we agree 👍 or 👎
Zapier Logs
Run ID: 00040eee-633e-ace1-aafc-ab344eee4bc4Krishna2323 commentedon Apr 1, 2026
@mallenexpensify checklist completed ^
mallenexpensify commentedon Apr 2, 2026
thx, closing
Krishna2323 commentedon Apr 4, 2026
Requested in ND.
twisterdotcom commentedon Apr 5, 2026
@Krishna2323 has submitted payment for this report on ND here.
SO: https://stackoverflowteams.com/c/expensify/questions/7582
Zapier Logs
Run ID: 00040eee-c743-a62d-b3b2-88814d9a34f4quinthar commentedon Apr 13, 2026
Approved $250 to @Krishna2323