Skip to content

[Search v1.2] - Unsubmitted expense can be held without error in Search #46742

Description

@lanitochka17

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.16-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: https://expensify.testrail.io/index.php?/tests/view/4804456
Issue reported by: Applause - Internal Team

Action Performed:

Precondition:

  • Delayed submission is enabled on Workflows
  • Workspace has an approver (admin)
  1. Go to staging.new.expensify.com
  2. [Employee] Go to workspace chat
  3. [Employee] Create two expenses and do not click Submit button
  4. [Admin] Go to transaction thread of any submitted expense from employee
  5. [Admin] Click on the report header > Hold
  6. [Admin] Enter reason and save it
  7. [Admin] Note that it shows "This request is being modified by another member." and the expense cannot be held
  8. [Admin] Go to Search
  9. [Admin] Select the expense from Step 4 via checkbox
  10. [Admin] Click on the dropdown > Hold
  11. [Admin] Enter reason and save it
  12. [Admin] Note that admin can hold the request from Search and there is no error message

Expected Result:

Admin should be prevented from holding expenses that are not submitted yet in Search

Actual Result:

In Step 7, admin is not allowed to hold unsubmitted expense when holding via transaction thread
In Step 12, admin can hold unsubmitted expense via dropdown button in Search

Workaround:

Unknown

Platforms:

Which of our officially supported platforms is this issue occurring on?

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

Screenshots/Videos

Add any screenshot/video evidence

Bug6560305_1722614731549.20240802_235819.mp4

View all open jobs on GitHub

Metadata

Metadata

Labels

Awaiting PaymentAuto-added when associated PR is deployed to productionBugSomething is broken. Auto assigns a BugZero manager.WeeklyKSv2

Type

No type

Projects

Status
Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions