Skip to content

[Due for payment 2025-10-13] [$250] Scan - Error is not removed from the report preview after paying an expense with empty field #69774

Closed

Description

@jponikarchuk

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: v9.2.1-2
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/2219752/test-runs/TR-645/folder/13176933/41237714/874218701?sort=%2Bidentifier
Email or phone of affected tester (no customers): n/a
Issue reported by: Applause Internal Team
Device used: Mac 15.4.1 Safari, Desktop, iPhone 13 iOS 18.6 Safari, Hybrid
App Component: Money Requests

Action Performed:

Preconditions: Admin invited an employee to the Workspece

  1. Navigate to https://staging.new.expensify.com
  2. Navigate to the workspace chat
  3. Create a manual expense
  4. Start the submit expense flow > "Scan" receipt
  5. Upload a receipt that will fail
  6. Complete the submit expense flow
  7. While the receipt is scanning - navigate to the request conversation
  8. Manually edit the amount field
  9. As the admin - Mark the expense as paid

Expected Result:

When the expense is paid with empty fields, the error/red dot should be dismissed from the report preview, expense
conversation and LHN

Actual Result:

The Missing merchant error is not removed from the report preview after paying an expense with empty field

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

1.mp4

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~021969249220578798764
  • Upwork Job ID: 1969249220578798764
  • Last Price Increase: 2025-09-20
  • Automatic offers:
    • nkdengineer | Contributor | 108896431
Issue OwnerCurrent Issue Owner: @
Issue OwnerCurrent Issue Owner: @strepanier03 / @Christinadobrzyn

Activity

  1. added
    Daily
    Bug
    on Sep 3, 2025
  2. melvin-bot commented on Sep 3, 2025

    @melvin-bot

    Triggered auto assignment to @strepanier03 (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 3, 2025

    @melvin-bot

    📣 @warrampageog! 📣
    Hey, it seems we don’t have your contributor details yet! You'll only have to do this once, and this is how we'll hire you on Upwork.
    Please follow these steps:

    1. Make sure you've read and understood the contributing guidelines.
    2. Get the email address used to login to your Expensify account. If you don't already have an Expensify account, create one here. If you have multiple accounts (e.g. one for testing), please use your main account email.
    3. Get the link to your Upwork profile. It's necessary because we only pay via Upwork. You can access it by logging in, and then clicking on your name. It'll look like this. If you don't already have an account, sign up for one here.
    4. Copy the format below and paste it in a comment on this issue. Replace the placeholder text with your actual details.
      Screen Shot 2022-11-16 at 4 42 54 PM
      Format:
    Contributor details
    Your Expensify account email: <REPLACE EMAIL HERE>
    Upwork Profile Link: <REPLACE LINK HERE>
    
  4. bernhardoj commented on Sep 3, 2025

    @bernhardoj
    Contributor

    Proposal

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

    Missing merchant error still shows after expense report is paid.

    What is the root cause of that problem?

    We always show the error without considering whether the report is paid or not.

    } else if (merchantMissing) {
    error = translate('iou.missingMerchant');

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

    We can ignore the error if the report is settled.

    } else if (!isSettled(report?.reportID) && merchantMissing) {
        error = translate('iou.missingMerchant');
    }

    (we can apply to other error cases if needed)

    Or we can add it to hasFieldErrors.

    const hasFieldErrors = hasMissingSmartscanFields(transactionItem) || isCustomUnitOutOfPolicy;
    if (hasFieldErrors) {

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

    Render TransactionItemRow with empty merchant and settled report and verify the RBR doesn't show.

  5. melvin-bot commented on Sep 8, 2025

    @melvin-bot

    @strepanier03 Eep! 4 days overdue now. Issues have feelings too...

  6. melvin-bot commented on Sep 12, 2025

    @melvin-bot

    @strepanier03 Now this issue is 8 days overdue. Are you sure this should be a Daily? Feel free to change it!

  7. strepanier03 commented on Sep 16, 2025

    @strepanier03
    Contributor

    Hmmm, when I test this the merchant violation is removed after approval/payment, the missing category is not.

    Image
  8. added
    Needs Reproduction
    on Sep 16, 2025
  9. MelvinBot commented on Sep 16, 2025

    @MelvinBot
    Contributor

    This has been labelled "Needs Reproduction". Follow the steps here: https://stackoverflowteams.com/c/expensify/questions/16989

  10. dukenv0307 commented on Sep 17, 2025

    @dukenv0307
    Contributor

    @strepanier03 I can reproduce this issue with the steps in the OP, please assign me as C+ here based on this comment

    Screen.Recording.2025-09-17.at.11.56.51.mov
  11. melvin-bot commented on Sep 17, 2025

    @melvin-bot

    @strepanier03 this issue was created 2 weeks ago. Are we close to a solution? Let's make sure we're treating this as a top priority. Don't hesitate to create a thread in #expensify-open-source to align faster in real time. Thanks!

  12. 52 remaining items

  13. strepanier03 commented on Oct 14, 2025

    @strepanier03
    Contributor

    Payment Summary

    • $250 - @dukenv0307 requires $250 payment through NewDot Manual Requests
    • $250 - @nkdengineer requires $250 payment through NewDot Manual Requests
  14. Christinadobrzyn commented on Oct 14, 2025

    @Christinadobrzyn
    Contributor
  15. strepanier03 commented on Oct 14, 2025

    @strepanier03
    Contributor

    lol - I'll close mine.

  16. strepanier03 commented on Oct 14, 2025

    @strepanier03
    Contributor

    @nkdengineer - Feel free to accept the Upwork contract and I'll check this tomorrow to pay.

  17. nkdengineer commented on Oct 15, 2025

    @nkdengineer
    Contributor

    @strepanier03 I will get paid via NewDot

  18. strepanier03 commented on Oct 15, 2025

    @strepanier03
    Contributor

    @nkdengineer - I don't see you on the list of contributors paid via New Expensify. Can you link me another GH where you've been paid via New Expensify?

  19. nkdengineer commented on Oct 15, 2025

    @nkdengineer
    Contributor

    @strepanier03 Matt is helping me to set up NewDot payments and it will be done soon.

    Image
  20. strepanier03 commented on Oct 16, 2025

    @strepanier03
    Contributor

    Aah okay, in our instructions you have to be assigned to the GH after you're added to the newdot payments list.

    If the date you're added to the payment list falls after the GH was assigned, I still have to pay via Upwork.

    @mallenexpensify - Can you confirm the date that will be listed for @nkdengineer in the newdot payments sheet? Will it be prior to September 24, 2025?

  21. mallenexpensify commented on Oct 17, 2025

    @mallenexpensify
    Contributor

    2025-09-21 is the date.
    Assign date here is 9-24 so we're good.

    @nkdengineer , check email for Inquiry about NewDot payment I need questions answered to get ya setup. Thx

  22. strepanier03 commented on Oct 17, 2025

    @strepanier03
    Contributor

    Thanks @mallenexpensify - Then I'll recind the offer in Upwork and update the payment summary so @nkdengineer can request payment when they are set up.

  23. strepanier03 commented on Oct 17, 2025

    @strepanier03
    Contributor

    Updated payment summary here.

    Since both payments are Newdot, I'll close this out.

  24. trjExpensify commented on Oct 21, 2025

    @trjExpensify
    Contributor

    Approved $250 for @dukenv0307

  25. garrettmknight commented on Oct 24, 2025

    @garrettmknight
    Contributor

    $250 approved for @dukenv0307

  26. JmillsExpensify commented on Nov 4, 2025

    @JmillsExpensify
    Contributor

    $250 approved for @nkdengineer

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

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions