Skip to content

[Merge] Expense-Report from deleted workspace can be selected when merging expense which fails merging #70346

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.2.9-0
Reproducible in staging?: Yes
Reproducible in production?: N/A - new feature, doesn't exist in prod
If this was caught during regression testing, add the test name, ID and link from TestRail: #68204
Email or phone of affected tester (no customers): djsoijsnoisdjsoni@gmail.com
Issue reported by: Applause Internal Team
Device used: Mac 15.5 / Chrome
App Component: Money Requests

Action Performed:

  1. Go to staging.new.expensify.com
  2. Go to workspace chat.
  3. Create an expense in the workspace chat.
  4. Delete the workspace.
  5. Create another workspace.
  6. Go to workspace chat.
  7. Create an expense in the workspace chat.
  8. Open the expense report.
  9. Click More > Merge.
  10. Select the expense from the deleted workspace > Continue.
  11. Select the report from the deleted workspace.
  12. Select any detail for other section > Continue.
  13. Click Merge expenses.

Expected Result:

In Step 11, the report from the deleted workspace should not be optional.

Actual Result:

In Step 11, the report from the deleted workspace is optional and can be selected.
As a result, the expenses are not merged in Step 13.

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

Bug6941080_1757557419350.Screen_Recording_2025-09-11_at_10.19.44.mp4

View all open jobs on GitHub

Activity

  1. added
    DeployBlockerCash
    Daily
    Bug
    DeployBlocker
    on Sep 11, 2025
  2. melvin-bot commented on Sep 11, 2025

    @melvin-bot

    Triggered auto assignment to @Christinadobrzyn (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. melvin-bot commented on Sep 11, 2025

    @melvin-bot

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

  4. github-actions commented on Sep 11, 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.
  5. melvin-bot commented on Sep 11, 2025

    @melvin-bot

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

  6. hoangzinh commented on Sep 11, 2025

    @hoangzinh
    Contributor

    I recall we already discussed this case, and we decided it's not a blocker 👀 cc @youssef-lr @dominictb

  7. dominictb commented on Sep 11, 2025

    @dominictb
    Contributor

    Yeah this is a BE bug. We shouldn't return archived expenses in eligible expenses list. Context: #68204 (comment)

  8. 46 remaining items

  9. garrettmknight commented on Dec 3, 2025

    @garrettmknight
    Contributor

    @youssef-lr bump on this.

  10. youssef-lr commented on Dec 4, 2025

    @youssef-lr
    Contributor

    Checking behavior in Classic today

  11. youssef-lr commented on Dec 5, 2025

    @youssef-lr
    Contributor

    Ok so in Classic we do not allow selecting a report from an archived workspace when reviewing fields. We have data in the frontend already that allows checking for this. I'll start working on the PR today.

  12. youssef-lr commented on Dec 16, 2025

    @youssef-lr
    Contributor

    Backend is being review. I'll work on a frontend fix when this PR is done because I need code changes from it.

  13. youssef-lr commented on Dec 26, 2025

    @youssef-lr
    Contributor

    Still waiting for the new PR to be merged.

  14. garrettmknight commented on Jan 6, 2026

    @garrettmknight
    Contributor

    PR is merged and I can't repro the error anymore, closing!

  15. moved this from MEDIUM or LOW to Done in [#whatsnext] #migrateon Jan 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

BugEngineeringInternalWeekly

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions