Skip to content

[HOLD for payment 2024-01-18] IOU - Merchant field in editor is empty when the Merchant is manually set to Unknown Merchant #33818

Closed

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.20-2
Reproducible in staging?: Y
Reproducible in production?: N
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:

Action Performed:

  1. Click FAB > Request money > Manual
  2. Create a manual request with a user with "Unknown Merchant" as the merchant
  3. Navigate to request details page
  4. Click Merchant
  5. Merchant field is empty

Expected Result:

Merchant field in editor shows "Unknown Merchant"

Actual Result:

Merchant field in editor is empty, when it shows "Unknown Merchant" in the details page

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

Bug6329830_1704112236784.20231230_201606__1_.1.mp4

View all open jobs on GitHub

Activity

  1. added
    DeployBlockerCash
    on Jan 1, 2024
  2. github-actions commented on Jan 1, 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.
  3. melvin-bot commented on Jan 1, 2024

    @melvin-bot

    Triggered auto assignment to @rlinoz (Engineering), see https://stackoverflow.com/c/expensify/questions/4319 for more details.

  4. abzokhattab commented on Jan 1, 2024

    @abzokhattab
    Contributor

    Proposal

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

    Merchant field in editor is empty when the Merchant is manually set to Unknown Merchant

    What is the root cause of that problem?

    in the EditRequestMerchantPage component, we set the merchant to empty based on this condition

    const isEmptyMerchant = defaultMerchant === '' || defaultMerchant === CONST.TRANSACTION.UNKNOWN_MERCHANT || defaultMerchant === CONST.TRANSACTION.PARTIAL_TRANSACTION_MERCHANT;

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

    remove defaultMerchant === CONST.TRANSACTION.UNKNOWN_MERCHANT so it should be like this:

        const isEmptyMerchant = defaultMerchant === '' || defaultMerchant === CONST.TRANSACTION.PARTIAL_TRANSACTION_MERCHANT;
  5. DylanDylann commented on Jan 2, 2024

    @DylanDylann
    Contributor

    @mountiny This issue has the same root cause as this one. I think we should create a thread to discuss and confirm the final expect

  6. added
    Daily
    and removed
    DeployBlockerCash
    Hourly
    on Jan 2, 2024
  7. assigned and unassigned on Jan 2, 2024
  8. mountiny commented on Jan 2, 2024

    @mountiny
    Contributor

    I can take over sir i was involved in the previous prs.

    We don't have a bullet proof way to catch this or avoid it.

    What we could do is to disallow user to use this merchant as some specific i will discuss this in slack

  9. melvin-bot commented on Jan 5, 2024

    @melvin-bot

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

  10. mountiny commented on Jan 9, 2024

    @mountiny
    Contributor

    I am actually removing the consideration for the Unknown merchant #34079

  11. mountiny commented on Jan 10, 2024

    @mountiny
    Contributor

    This is resolved

  12. added
    Weekly
    Awaiting Payment
    and removed
    Daily
    on Jan 11, 2024
  13. changed the title [-] IOU - Merchant field in editor is empty when the Merchant is manually set to Unknown Merchant[/-] [+][HOLD for payment 2024-01-18] IOU - Merchant field in editor is empty when the Merchant is manually set to Unknown Merchant[/+] on Jan 11, 2024
  14. melvin-bot commented on Jan 11, 2024

    @melvin-bot

    The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.24-3 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-01-18. 🎊

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

Metadata

Metadata

Assignees

Labels

Awaiting PaymentEngineeringWeekly

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions