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 2025-12-11] [$250] Expense - Not here page opens after deleting report #74731
Version Number: 9.2.48-0 Reproducible in staging?: Y Reproducible in production?: Y If this was caught during regression testing, add the test name, ID and link from TestRail:#73691 Email or phone of affected tester (no customers):niushdsiushbiusdh@gmail.com Issue reported by: Applause - Internal Team
Action Performed:
Go to staging.new.expensify.com
Go to workspace chat
Create an empty report
Open the empty report
Go to Reports > Reports
Open the empty report
Go back to Inbox
On the empty report, click More > Delete
Delete the report
Expected Result:
Not here page will not open after deleting the report
Actual Result:
Not here page opens after deleting the report
Workaround:
Unknown
Platforms:
Select the officially supported platforms where the issue was reproduced:
Android: App
Android: mWeb Chrome
iOS: App
iOS: mWeb Safari
iOS: mWeb Chrome
Windows: Chrome
MacOS: Chrome / Safari
MacOS: Desktop
Platforms Tested:
On which of our officially supported platforms was this issue tested:
Android: App
Android: mWeb Chrome
iOS: App
iOS: mWeb Safari
iOS: mWeb Chrome
Windows: Chrome
MacOS: Chrome / Safari
MacOS: Desktop
Screenshots/Videos
Add any screenshot/video evidenceBug6999637_1762791786364.6.mp4
=> Navigation.goBack(route.params?.backTo) is called => the navigation just pops the current screen from the stack because route.params?.backTo is undefined => the user navigated to the Reports tab => page not found is displayed because (report is deleted)
What changes do you think we should make in order to solve the problem?
We should handle backToRoute for deleteReport like we did with deleteExpense in MoneyReportHeader
What alternative solutions did you explore? (Optional)
Reminder: Please use plain English, be brief and avoid jargon. Feel free to use images, charts or pseudo-code if necessary. Do not post large multi-line diffs or write walls of text. Do not create PRs unless you have been hired for this job.
changed the title [-]Expense - Not here page opens after deleting report[/-][+][$250] Expense - Not here page opens after deleting report[/+]on Nov 17, 2025
changed the title [-][$250] Expense - Not here page opens after deleting report[/-][+][Due for payment 2025-12-11] [$250] Expense - Not here page opens after deleting report[/+]on Dec 4, 2025
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.2.71-5 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:
@dominictb@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]
[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: NA
[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
Test:
Go to workspace chat
Create an empty report
Open the empty report
Go to Reports > Reports
Open the empty report
Go back to Inbox
On the empty report, click More > Delete
Delete the report
Verify that: Not here page will not open after deleting the report
Go back to Reports and verify that the "Not here page" isn't shown
Activity
melvin-bot commentedon Nov 10, 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.daledah commentedon Nov 10, 2025
Proposal
Please re-state the problem that we are trying to solve in this issue.
Not here page opens after deleting the report
What is the root cause of that problem?
We are not handling
backToRoutefordeleteReportcase like we did with deleteExpense hereApp/src/components/MoneyReportHeader.tsx
Lines 1142 to 1146 in 3cb2fe3
App/src/components/MoneyReportHeader.tsx
Lines 1264 to 1265 in 3cb2fe3
=>
Navigation.goBack(route.params?.backTo)is called => the navigation just pops the current screen from the stack becauseroute.params?.backTois undefined => the user navigated to the Reports tab =>page not foundis displayed because (report is deleted)What changes do you think we should make in order to solve the problem?
We should handle
backToRoutefordeleteReportlike we did withdeleteExpenseinMoneyReportHeaderApp/src/components/MoneyReportHeader.tsx
Line 1142 in 3cb2fe3
What alternative solutions did you explore? (Optional)
Reminder: Please use plain English, be brief and avoid jargon. Feel free to use images, charts or pseudo-code if necessary. Do not post large multi-line diffs or write walls of text. Do not create PRs unless you have been hired for this job.
[-]Expense - Not here page opens after deleting report[/-][+][$250] Expense - Not here page opens after deleting report[/+]melvin-bot commentedon Nov 17, 2025
Job added to Upwork: https://www.upwork.com/jobs/~021990495316363245539
melvin-bot commentedon Nov 17, 2025
Triggered auto assignment to Contributor-plus team member for initial proposal review - @dominictb (
External)daledah commentedon Nov 24, 2025
@dominictb what do you think about my proposal?
15 remaining items
[-][$250] Expense - Not here page opens after deleting report[/-][+][Due for payment 2025-12-11] [$250] Expense - Not here page opens after deleting report[/+]melvin-bot commentedon Dec 4, 2025
Reviewinglabel has been removed, please complete the "BugZero Checklist".melvin-bot commentedon Dec 4, 2025
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.2.71-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 2025-12-11. 🎊
For reference, here are some details about the assignees on this issue:
melvin-bot commentedon Dec 4, 2025
@dominictb @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]
melvin-bot commentedon Dec 15, 2025
@garrettmknight Eep! 4 days overdue now. Issues have feelings too...
dominictb commentedon Dec 16, 2025
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: https://github.com/Expensify/App/pull/71169/changes#r2623703208
[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: NA
[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
Test:
Do we agree 👍 or 👎
melvin-bot commentedon Dec 17, 2025
@garrettmknight 6 days overdue. This is scarier than being forced to listen to Vogon poetry!
garrettmknight commentedon Dec 19, 2025
Payment Summary