Skip to content

[Due for payment 2026-02-24] Deleting a draft report from search deletes the expenses as well. #79756

@trjExpensify

Description

@trjExpensify

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.3-2
Reproducible in staging?: Y
**Reproducible in production?:**Y
If this was caught during regression testing, add the test name, ID and link from BrowserStack: No
Issue reported by: @trjExpensify
Slack conversation (hyperlinked to channel name): NA, discovered in testing something else.

Action Performed:

  1. Create a report
  2. Add two expenses to it
  3. Go to Reports > Reports
  4. Select the report
  5. Click Delete > Confirm
  6. Observe the report is deleted and the expenses are deleted.

Expected Result:

The report should be deleted, and the expenses should be unreported.

Actual Result:

The report is deleted and the expenses are deleted.

I think this might be because we seem to be calling DeleteMoneyRequestOnSearch when you've bulk selected type:expense-report results, instead of maybe DeleteAppReport which when called from within the report directly seems to work as expected. 🤔

Additionally, we should only surface report specific actions when viewing Search results with type:expense-report. Those actions are:

Workaround:

Click into the report > More > Delete. The report will be deleted, and the expenses unreported.

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

Screenshots/Videos

2026-01-16_03-10-17.mp4

View all open jobs on GitHub

Issue Owner

Current Issue Owner: @trjExpensify

Metadata

Metadata

Labels

Awaiting PaymentAuto-added when associated PR is deployed to productionBugSomething is broken. Auto assigns a BugZero manager.DailyKSv2ExternalAdded to denote the issue can be worked on by a contributor

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions