Skip to content

Expense-Empty report can be submitted & approver can be changed in offline #83179

Description

@mitarachim

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.24-1
Reproducible in staging?: Yes
Reproducible in production?: Yes
If this was caught during regression testing, add the test name, ID and link from BrowserStack: #82968
Email or phone of affected tester (no customers): dreamnitethedragon@gmail.com
Issue reported by: Applause Internal Team
Bug source: Exploratory - Significant User Experience Deterioration
Device used: Redminote 10S Android 13
App Component: Money Requests

Action Performed:

  1. Launch app
  2. Create workspace
  3. Change plan to control
  4. Invite a member
  5. Enable all options in workflow ( submission frequency, approval and payment)
  6. Go to workspace chat
  7. Create 2 distance manual expense
  8. Go offline - Select both expense and move expense to new report
  9. In empty report, from top dropdown, tap submit in context menu
  10. Now badge changed to "outstanding"
  11. In empty report, from top dropdown, tap change approver in context menu and select a approver
  12. In empty report, from top dropdown, tap change approver and select bypass approver
  13. Go online
  14. Note badge changed to "draft" and waiting for approver to approve message is shown initially incorrect
  15. Clear all error messages shown below and Revisit the page
  16. Note correct waiting to add expense is shown

Expected Result:

When a report has no active expenses (after moving all expenses out):

Submit and approver-related actions should not be available in offline mode.

The report status should not change to “Outstanding”

Actual Result:

When all expenses are moved out of a report in offline mode:
Empty report still allows:
Submit action
Change Approver
Bypass Approver
The report status changes to “Outstanding”

After going back online:
The report reverts to “Draft”
Incorrect “waiting for approver” message is briefly shown
Errors appear

After clearing errors, correct state (“waiting to add expense”) is finally shown.

Workaround:

Unknown

Platforms:

  • Android: App
  • Android: mWeb Chrome
  • iOS: App
  • iOS: mWeb Safari
  • iOS: mWeb Chrome
  • Windows: Chrome
  • MacOS: Chrome / Safari

Screenshots/Videos

Bug7084324_1771670211080.Screenrecorder-2026-02-21-15-46-58-720.mp4

View all open jobs on GitHub

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    Status
    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions