Skip to content

Split - Missing split, hold and merge button after reverting split #74385

Closed

Description

@vincdargento

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.45-0
Reproducible in staging?: Yes
Reproducible in production?: No
If this was caught during regression testing, add the test name, ID and link from BrowserStack: Exp #73474
Email or phone of affected tester (no customers): sjiodnjonsdjiosjioj@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.
  4. Open the report.
  5. Click More > Split
  6. Click Save.
  7. Open any split.
  8. Click More > Edit splits.
  9. Click on the other split (not highlighted).
  10. Click Remove split.
  11. Click Save.
  12. Click More.

Expected Result:

Split, hold and merge option will be present in More menu after reverting split.

Actual Result:

Split, hold and merge option are missing in More menu after reverting split.

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

bug.mp4

View all open jobs on GitHub

Activity

  1. added
    DeployBlockerCash
    Daily
    Bug
    on Nov 5, 2025
  2. melvin-bot commented on Nov 5, 2025

    @melvin-bot

    Triggered auto assignment to @joekaufmanexpensify (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 Nov 5, 2025

    @melvin-bot

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

  4. melvin-bot commented on Nov 5, 2025

    @melvin-bot

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

  5. github-actions commented on Nov 5, 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.
  6. francoisl commented on Nov 5, 2025

    @francoisl
    Contributor

    Tried reverting 73474 but it doesn't solve the issue (though it solves another blocker). Still investigating this.

  7. francoisl commented on Nov 5, 2025

    @francoisl
    Contributor

    I don't see the Split/Merge buttons on production immediately after removing a split either, though they eventually appear after the API command completes. The issue is just more noticeable now because of backend issues.

    Image

    That said, it looks like the Split/Merge buttons never show up on staging, so it could really be a bug 🤔

  8. francoisl commented on Nov 6, 2025

    @francoisl
    Contributor

    After creating an expense, splitting it in 2 and then deleting a split, the reportTransactionsAndViolations Onyx key for that report is wrong and has 3 transactions instead of just one. That's mostly what's causing the issue, because the the action button for split/merge is only added in that view if there's 1 expense on the report.

    Image

    The API response looks correct though, still trying to repro on dev.

  9. 3 remaining items

  10. added
    Daily
    Bug
    and removed
    DeployBlockerCash
    Daily
    Bug
    on Nov 6, 2025
  11. melvin-bot commented on Nov 6, 2025

    @melvin-bot

    Current assignee @joekaufmanexpensify is eligible for the Bug assigner, not assigning anyone new.

  12. lakchote commented on Nov 6, 2025

    @lakchote
    Contributor

    Ugh now I can't even remove split expenses in production anymore, Auth's RevertSplitTransaction command keeps failing.

    @lakchote it looks like you worked on that command recently, any chance you can take a look please? I'm kind of at a loss here. Example request ID 99a081fe8dcd15a4-SJC at 2025-11-06 00:34:53Z for logs.

    In the meantime I'm thinking about demoting this since the production flow doesn't work well either, and it's not a core flow either.

    Thanks @francoisl for investigating.

    Hmmm, what happened to you shouldn't have happened at all. It seems like the splitReportActionID parameter passed by the frontend was a reportActionID that already existed, hence we got this error:

    Image

    A recent Auth PR related to Revert deployed 2 days ago (https://github.com/Expensify/Auth/pull/17895), made use of this splitReportActionID parameter to fix this issue.

    Going to investigate.

  13. self-assigned this
    on Nov 6, 2025
  14. lakchote commented on Nov 6, 2025

    @lakchote
    Contributor

    I'm unable to reproduce either of the two issues reported (the original one and yours, @francoisl) on dev (latest main)? This is weird.

    Screen.Recording.2025-11-06.at.09.12.31.mov
  15. lakchote commented on Nov 6, 2025

    @lakchote
    Contributor

    cc @ZhenjaHorbach could you please take a look?

  16. m-natarajan commented on Nov 6, 2025

    @m-natarajan

    No Hold option, Web v9.2.45-1 PR:74452

    Screen.Recording.2025-11-06.at.16.05.53.mp4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

BugDailyEngineering

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions