Skip to content

[HOLD for payment 2024-06-28] [HOLD for payment 2024-06-21] Split - App allows splitting when the sum of splits is not equal to total amount #43216

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: 1.4.80-6
Reproducible in staging?: Y
Reproducible in production?: N
If this was caught during regression testing, add the test name, ID and link from TestRail: https://expensify.testrail.io/index.php?/tests/view/4601034
Issue reported by: Applause - Internal Team

Action Performed:

  1. Go to staging.new.expensify.com
  2. Go to group chat
  3. Go to + > Split expense
  4. Enter amount > Next
  5. Enter 0 as split amount for each participants
  6. Click Split button

Expected Result:

The split will not be created because "The sum of splits must equal the total amount."

Actual Result:

The split is created despite the error "The sum of splits must equal the total amount."
Error shows up after the split is created

Workaround:

Unknown

Platforms:

Which of our officially supported platforms is this issue occurring on?

  • Android: Native
  • Android: mWeb Chrome
  • iOS: Native
  • iOS: mWeb Safari
  • MacOS: Chrome / Safari
  • MacOS: Desktop

Screenshots/Videos

Add any screenshot/video evidence

Bug6504309_1717701794847.20240607_031950.mp4

View all open jobs on GitHub

Issue OwnerCurrent Issue Owner: @sonialiap

Activity

  1. added
    DeployBlockerCashThis issue or pull request should block deployment
    DeployBlockerIndicates it should block deploying the API
    on Jun 6, 2024
  2. melvin-bot commented on Jun 6, 2024

    @melvin-bot

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

  3. github-actions commented on Jun 6, 2024

    @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. lanitochka17 commented on Jun 6, 2024

    @lanitochka17
    Author

    @thienlnam FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors

  5. lanitochka17 commented on Jun 6, 2024

    @lanitochka17
    Author

    We think that this bug might be related to #vip-split

  6. neil-marcellini commented on Jun 6, 2024

    @neil-marcellini
    Contributor

    This issue is about frontend error handling, so it's not a backend blocker.

  7. ishpaul777 commented on Jun 6, 2024

    @ishpaul777
    Contributor

    found the potential offending PR #42450,

    Edit: Confirmed with revert #43223

    cc @nkdengineer @rushatgabhane

  8. mountiny commented on Jun 6, 2024

    @mountiny
    Contributor

    To unblock deploy as fast as possible, I will go with the revert

  9. self-assigned this
    on Jun 6, 2024
  10. mountiny commented on Jun 6, 2024

    @mountiny
    Contributor

    CPing the revert

  11. 24 remaining items

  12. melvin-bot commented on Jun 20, 2024

    @melvin-bot

    Triggered auto assignment to @sonialiap (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.

  13. mountiny commented on Jun 20, 2024

    @mountiny
    Contributor
  14. sonialiap commented on Jun 21, 2024

    @sonialiap
    Contributor

    Payment summary:

    upwork link

  15. changed the title [-][HOLD for payment 2024-06-21] Split - App allows splitting when the sum of splits is not equal to total amount[/-] [+][HOLD for payment 2024-06-28] [HOLD for payment 2024-06-21] Split - App allows splitting when the sum of splits is not equal to total amount[/+] on Jun 21, 2024
  16. melvin-bot commented on Jun 21, 2024

    @melvin-bot

    Reviewing label has been removed, please complete the "BugZero Checklist".

  17. melvin-bot commented on Jun 21, 2024

    @melvin-bot

    The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.85-7 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:

    If no regressions arise, payment will be issued on 2024-06-28. 🎊

    For reference, here are some details about the assignees on this issue:

    • @ishpaul777 requires payment (Needs manual offer from BZ)
  18. melvin-bot commented on Jun 21, 2024

    @melvin-bot

    BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:

    • [@ishpaul777] The PR that introduced the bug has been identified. Link to the PR:
    • [@ishpaul777] The offending PR has been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake. Link to comment:
    • [@ishpaul777] A discussion in #expensify-bugs has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner. Link to discussion:
    • [@ishpaul777] Determine if we should create a regression test for this bug.
    • [@ishpaul777] If we decide to create a regression test for the bug, please propose the regression test steps to ensure the same bug will not reach production again.
    • [@sonialiap] Link the GH issue for creating/updating the regression test once above steps have been agreed upon:
  19. ishpaul777 commented on Jun 24, 2024

    @ishpaul777
    Contributor

    @sonialiap I have accepted offer, Thanks!

  20. ishpaul777 commented on Jun 24, 2024

    @ishpaul777
    Contributor
  21. sonialiap commented on Jun 26, 2024

    @sonialiap
    Contributor

    Paid ✔️

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

Metadata

Metadata

Labels

Awaiting PaymentAuto-added when associated PR is deployed to productionBugSomething is broken. Auto assigns a BugZero manager.EngineeringWeeklyKSv2

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions