Skip to content

[Due for payment 2025-08-26] [$250] Expense - Missing Split indicator next to Amount when card expense is split #66900

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.1.84-1
Reproducible in staging?: Yes
Reproducible in production?: Yes
If this was caught during regression testing, add the test name, ID and link from TestRail: https://test-management.browserstack.com/projects/2148171/test-runs/TR-137/folder/12015307/39317700/797468269
Email or phone of affected tester (no customers): sdoinjsodjoidsjdoi@gmail.com
Issue reported by: Applause Internal Team
Device used: Mac 15.5 / Chrome
App Component: Money Requests

Action Performed:

Precondition:

  • User has added Wells Fargo card feed and assigned themselves Plaid Credit Card 3333.
  • There is at least one imported card transaction.
  1. Go to staging.expensify.com
  2. Go to workspace chat.
  3. Submit an expense to the workspace chat.
  4. Open the expense preview and then transaction thread.
  5. Click More > Split > Save.
  6. Open the split expense.
    → Note that it shows Split indicator next to Amount.
  7. Open card transaction.
  8. Click More > Split > Save.
  9. Open the split card transaction.

Expected Result:

The split card transaction will show Split indicator next to Amount.

Actual Result:

The split card transaction does not show Split indicator next to Amount.

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

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~021950300854731008981
  • Upwork Job ID: 1950300854731008981
  • Last Price Increase: 2025-07-29
Issue OwnerCurrent Issue Owner: @OfstadC

Activity

  1. added
    Daily
    Bug
    on Jul 22, 2025
  2. melvin-bot commented on Jul 22, 2025

    @melvin-bot

    Triggered auto assignment to @OfstadC (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. ryntgh commented on Jul 22, 2025

    @ryntgh
    Contributor

    Proposal

    Please re-state the problem that we are trying to solve in this issue.

    Expense - Missing Split indicator next to Amount when card expense is split

    What is the root cause of that problem?

    The split indicator check is only performed in the else block (for non-card transactions) but not in the isCardTransaction block

    if (isCardTransaction) {
    if (transactionPostedDate) {
    dateDescription += ` ${CONST.DOT_SEPARATOR} ${translate('iou.posted')} ${transactionPostedDate}`;
    }
    if (formattedOriginalAmount) {
    amountDescription += ` ${CONST.DOT_SEPARATOR} ${translate('iou.original')} ${formattedOriginalAmount}`;
    }
    if (isCancelled) {
    amountDescription += ` ${CONST.DOT_SEPARATOR} ${translate('iou.canceled')}`;
    }
    } else {
    if (!isDistanceRequest && !isPerDiemRequest) {
    amountDescription += ` ${CONST.DOT_SEPARATOR} ${translate('iou.cash')}`;
    }
    if (getOriginalTransactionWithSplitInfo(transaction).isExpenseSplit) {
    amountDescription += ` ${CONST.DOT_SEPARATOR} ${translate('iou.split')}`;
    }
    if (isCancelled) {
    amountDescription += ` ${CONST.DOT_SEPARATOR} ${translate('iou.canceled')}`;
    } else if (isApproved) {
    amountDescription += ` ${CONST.DOT_SEPARATOR} ${translate('iou.approved')}`;
    } else if (isSettled) {
    amountDescription += ` ${CONST.DOT_SEPARATOR} ${translate('iou.settledExpensify')}`;
    }
    }

    This code specifically

    if (getOriginalTransactionWithSplitInfo(transaction).isExpenseSplit) {
    amountDescription += ` ${CONST.DOT_SEPARATOR} ${translate('iou.split')}`;
    }

    What changes do you think we should make in order to solve the problem?

    Move the split indicator logic outside of the card/non-card conditional blocks so it applies to both card and non-card transactions

        if (getOriginalTransactionWithSplitInfo(transaction).isExpenseSplit) {
            amountDescription += ` ${CONST.DOT_SEPARATOR} ${translate('iou.split')}`;
        }

    What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?

    N/A

    What alternative solutions did you explore? (Optional)

    Or we can add the split indicator logic inside isCardTransaction block as well

  4. melvin-bot commented on Jul 25, 2025

    @melvin-bot

    @OfstadC Whoops! This issue is 2 days overdue. Let's get this updated quick!

  5. added
    External
    on Jul 29, 2025
  6. changed the title [-]Expense - Missing Split indicator next to Amount when card expense is split[/-] [+][$250] Expense - Missing Split indicator next to Amount when card expense is split[/+] on Jul 29, 2025
  7. melvin-bot commented on Jul 29, 2025

    @melvin-bot
  8. added
    Help Wanted
    on Jul 29, 2025
  9. melvin-bot commented on Jul 29, 2025

    @melvin-bot

    Triggered auto assignment to Contributor-plus team member for initial proposal review - @suneox (External)

  10. melvin-bot commented on Aug 1, 2025

    @melvin-bot

    @suneox Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!

  11. 19 remaining items

  12. added
    Weekly
    Awaiting Payment
    on Aug 19, 2025
  13. changed the title [-][$250] Expense - Missing Split indicator next to Amount when card expense is split[/-] [+][Due for payment 2025-08-26] [$250] Expense - Missing Split indicator next to Amount when card expense is split[/+] on Aug 19, 2025
  14. melvin-bot commented on Aug 19, 2025

    @melvin-bot

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

  15. removed
    Reviewing
    on Aug 19, 2025
  16. melvin-bot commented on Aug 19, 2025

    @melvin-bot

    The solution for this issue has been 🚀 deployed to production 🚀 in version 9.1.96-2 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 2025-08-26. 🎊

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

    • @suneox requires payment through NewDot Manual Requests
    • @ryntgh requires payment (Needs manual offer from BZ)
  17. melvin-bot commented on Aug 19, 2025

    @melvin-bot

    @suneox @OfstadC The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed. Please copy/paste the BugZero Checklist from here into a new comment on this GH and complete it. If you have the K2 extension, you can simply click: [this button]

  18. added
    Daily
    and removed
    Weekly
    on Aug 25, 2025
  19. suneox commented on Aug 26, 2025

    @suneox
    Contributor

    BugZero Checklist:

    • [Contributor] Classify the bug:
    Bug classification

    Source of bug:

    • 1a. Result of the original design (eg. a case wasn't considered)
    • 1b. Mistake during implementation
    • 1c. Backend bug
    • 1z. Other:

    Where bug was reported:

    • 2a. Reported on production (eg. bug slipped through the normal regression and PR testing process on staging)
    • 2b. Reported on staging (eg. found during regression or PR testing)
    • 2d. Reported on a PR
    • 2z. Other:

    Who reported the bug:

    • 3a. Expensify user
    • 3b. Expensify employee
    • 3c. Contributor
    • 3d. QA
    • 3z. Other:
    • [Contributor] 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: N/A: I think this issue is caused by a case we didn’t consider. The history for the current change set was dropped a few months ago, so I couldn’t identify the offending PR

    • [Contributor] If the regression was CRITICAL (e.g. interrupts a core flow) A discussion in #expensify-open-source 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: N/A

    • [Contributor] If it was decided to create a regression test for the bug, please propose the regression test steps using the template below to ensure the same bug will not reach production again.

      N/A: This isn’t an impactful bug, just a minor label update.

  20. OfstadC commented on Aug 26, 2025

    @OfstadC
  21. melvin-bot commented on Aug 26, 2025

    @melvin-bot

    Payment Summary

    Upwork Job

    BugZero Checklist (@OfstadC)

    • I have verified the correct assignees and roles are listed above and updated the necessary manual offers
    • I have verified that there are no duplicate or incorrect contracts on Upwork for this job (https://www.upwork.com/ab/applicants/1950300854731008981/hired)
    • I have verified the PR was not reverted
    • I have applied any discounts due to bugs/regressions introduced by this PR
    • I have paid out the Upwork contracts or cancelled the ones that are incorrect
    • I have verified the payment summary above is correct
  22. garrettmknight commented on Sep 16, 2025

    @garrettmknight
    Contributor

    $250 approved for @suneox

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

Metadata

Metadata

Labels

Awaiting PaymentBugDailyExternal

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions