Skip to content

Reports- App crashes after deleting expense on empty state after disabling reimbursable toggle #68067

Closed

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: 9.1.90-0
Reproducible in staging?: Yes
Reproducible in production?: No
If this was caught during regression testing, add the test name, ID and link from TestRail: #63054
Email or phone of affected tester (no customers): sdjoinjsodjsooj@gmail.com
Issue reported by: Applause Internal Team
Device used: Mac 15.5 / Chrome
App Component: Search

Action Performed:

  1. Go to staging.new.expensify.com
  2. Log in with a new Gmail account.
  3. Create a workspace.
  4. Go to workspace chat.
  5. Submit two expenses to the workspace chat.
  6. Go to Reports.
  7. Go to Unapproved cash.
  8. Select both expenses via checkbox.
  9. Open any expense row.
  10. Disable reimbursable toggle.
  11. Close the RHP.
  12. Open other expense row.
  13. Disable reimbursable toggle.
  14. Close the RHP.
  15. Click on the green dropdown button.
  16. Click Delete.
  17. Click Delete.

Expected Result:

App will not crash.

Actual Result:

App crashes.

Workaround:

Unknown

Platforms:

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

Screenshots/Videos

Bug6909732_1754514785345!staging.new.expensify.com-1754514619505.txt

Bug6909732_1754514785347.Screen_Recording_2025-08-07_at_05.09.42.mp4

View all open jobs on GitHub

Activity

  1. added
    DeployBlockerCashThis issue or pull request should block deployment
    BugSomething is broken. Auto assigns a BugZero manager.
    DeployBlockerIndicates it should block deploying the API
    on Aug 6, 2025
  2. melvin-bot commented on Aug 6, 2025

    @melvin-bot

    Triggered auto assignment to @abekkala (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details. Please add this bug to a GH project, as outlined in the SO.

  3. github-actions commented on Aug 6, 2025

    @github-actions
    Contributor

    👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:

    1. Identify the pull request that introduced this issue and revert it.
    2. Find someone who can quickly fix the issue.
    3. Fix the issue yourself.
  4. melvin-bot commented on Aug 6, 2025

    @melvin-bot

    Triggered auto assignment to @arosiclair (DeployBlockerCash), see https://stackoverflowteams.com/c/expensify/questions/9980/ for more details.

  5. melvin-bot commented on Aug 6, 2025

    @melvin-bot

    💬 A slack conversation has been started in #expensify-open-source

  6. francoisl commented on Aug 6, 2025

    @francoisl
    Contributor

    Will probably be fixed by #68061

  7. daledah commented on Aug 7, 2025

    @daledah
    Contributor

    This issue is reproducible in production too, with slightly different steps:

    1. Create an expense
    2. Go to Reports -> Expenses
    3. Select the expense
    4. Open the expense in RHP
    5. Click More -> Delete -> Delete
    Untitled.mov

    IMO it's an existing bug and the issue is just one case of it.

  8. m-natarajan commented on Aug 7, 2025

    @m-natarajan

    issue not reproducible.
    reimbursable toggle is not displayed in desktop build v9.1.90-4
    Mac 15.6

    Screen.Recording.2025-08-07.at.18.52.13.mov
  9. arosiclair commented on Aug 7, 2025

    @arosiclair
    Contributor

    This issue is reproducible in production too, with slightly different steps:

    1. Create an expense
    2. Go to Reports -> Expenses
    3. Select the expense
    4. Open the expense in RHP
    5. Click More -> Delete -> Delete
      IMO it's an existing bug and the issue is just one case of it.

    These steps don't seem to crash the app on production v9.1.89-21

  10. arosiclair commented on Aug 7, 2025

    @arosiclair
    Contributor

    Will probably be fixed by #68061

    👍 closing this out

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

BugSomething is broken. Auto assigns a BugZero manager.EngineeringHourlyKSv2

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions