Skip to content

Expense - Error when deleting expense when Delay submissions is enabled #49157

Description

@IuliiaHerets

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: 9.0.34-2
Reproducible in staging?: Y
Reproducible in production?: N/A - no delete option in Admin side
Issue was found when executing this PR: #48998
Email or phone of affected tester (no customers): applausetester+kh010901@applause.expensifail.com
Issue reported by: Applause Internal Team

Action Performed:

Precondition:

  • Admin and employee are in the same workspace.
  • Delay submissions is enabled in Worflows page.
  1. Go to staging.new.expensify.com
  2. [Employee] Submit an expense in the workspace chat, but do not click the Submit button.
  3. [Admin] Go to transaction thread in the workspace chat.
  4. [Admin] Click on the report header.
  5. [Admin] Click Delete expense.
  6. [Admin] Delete the expense.

Expected Result:

The expense should be deleted because delete option is present.
On prod, delete option is not available.

Actual Result:

The expense is not deleted and error shows up.
Also, when selecting the same expense in Search, there is no delete option from the dropdown but it is present in the transaction thread.

Workaround:

Unknown

Platforms:

  • Android: Native
  • Android: mWeb Chrome
  • iOS: Native
  • iOS: mWeb Safari
  • MacOS: Chrome / Safari
  • MacOS: Desktop

Screenshots/Videos

Bug6601953_1726210847476.20240913_145443.mp4

View all open jobs on GitHub

Metadata

Metadata

Labels

BugSomething is broken. Auto assigns a BugZero manager.EngineeringReviewingHas a PR in reviewWeeklyKSv2

Type

No type

Fields

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