Skip to content

[$250] Expense - Unhold option is available for user who does not hold the expense which causes error #60845

@lanitochka17

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.1.32-0
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught on HybridApp, is this reproducible on New Expensify Standalone?: N/A
If this was caught during regression testing, add the test name, ID and link from TestRail: N/A
Issue reported by: Applause - Internal Team

Action Performed:

Precondition:

  • Log in with Expensifail account
  1. Go to staging.new.expensify.com
  2. [User A] Submit two expenses to User B
  3. [User A] Go to expense report
  4. [User A] Select one of the expenses via checkbox
  5. [User A] Click on the dropdown > Hold
  6. [User A] Enter a reason and save it
  7. [User B] Open chat with User A
  8. [User B] Go to expense report
  9. [User B] Click on the held expense, then click on the report header
  10. [User B} Note that there is no Unhold option because only the person who holds the expense can unhold it in p2p expense
  11. [User B] Close the RHP
  12. [User B].Select the held expense via checkbox
  13. [User B] Click on the dropdown > Unhold
  14. [User B] Close the RHP and click on the expense which is now unheld
  15. [User B] Note that it throws error "Unexpected error taking this expense off hold. Please try again later."

Expected Result:

In Step 13, the receiver should not have the option to unhold the expense because only the person who holds the expense can unhold it in p2p expense

Actual Result:

In Step 13, the receiver is given the option to unhold the expense when they are not the one who holds the expense
In Step 15, when the receiver unholds the expense, it throws error "Unexpected error taking this expense off hold. Please try again later."

Workaround:

Unknown

Platforms:

Select the officially supported platforms where the issue was reproduced:

  • Android: Standalone
  • Android: HybridApp
  • Android: mWeb Chrome
  • iOS: Standalone
  • iOS: HybridApp
  • iOS: mWeb Safari
  • Windows: Chrome
  • MacOS: Chrome / Safari
  • MacOS: Desktop
Platforms Tested: On which of our officially supported platforms was this issue tested:
  • Android: Standalone
  • Android: HybridApp
  • Android: mWeb Chrome
  • iOS: Standalone
  • iOS: HybridApp
  • iOS: mWeb Safari
  • Windows: Chrome
  • MacOS: Chrome / Safari
  • MacOS: Desktop

Screenshots/Videos

Add any screenshot/video evidence
Bug6811753_1745506943148.20250424_225148.mp4

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~021915823501257164210
  • Upwork Job ID: 1915823501257164210
  • Last Price Increase: 2025-05-02
Issue OwnerCurrent Issue Owner: @Ollyws

Metadata

Metadata

Labels

BugSomething is broken. Auto assigns a BugZero manager.DailyKSv2ExternalAdded to denote the issue can be worked on by a contributorHelp WantedApply this label when an issue is open to proposals by contributors

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions