You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Due for payment 2026-06-17] Expense - (none) is populated in Merchant field after saving empty merchant #90577
Version Number: 9.3.74-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:#87920 Email or phone of affected tester (no customers):sjdojsodjniodnsjioj@gmail.com Issue reported by: Applause Internal Team Bug source: Exploratory - Significant User Experience Deterioration Device used: Mac 26.2 / Chrome App Component: Money Requests
Action Performed:
Go to staging.new.expensify.com
Log in with Gmail account.
Open self DM or DM with any user.
Click + > Create expense > Manual.
Enter amount > Next.
On confirm page, click Merchant.
Click Save without entering merchant.
Click Create expense.
Expected Result:
In Step 6, (none) will not be populated in Merchant field after saving empty merchant.
Actual Result:
In Step 6, (none) is populated in Merchant field after saving empty merchant.
In Step 7, expense cannot be created due to (none) in merchant field.
👋 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:
Identify the pull request that introduced this issue and revert it.
PR #87920 introduced a regression in the old (non-new-manual-flow) expense creation path by changing setMoneyRequestMerchant to always set isMerchantSet: true, but the display logic in MerchantField.tsx now depends on isMerchantSet being false to suppress the "(none)" placeholder value from being shown to the user.
Assigned: @ChavdaSachin (PR author), @ShridharGoel and @puneetlath (approving reviewers) Labels: DeployBlockerCash kept (App PR caused the issue). DeployBlocker removed — this is a frontend bug, no backend changes needed.
Detailed Analysis
Evidence
The bug is staging-only (not reproducible in production), which is consistent with it being introduced by a PR in the current staging deploy.
PR Feat: Manual expense flow UI refactor - r3 #87920 modifies src/components/MoneyRequestConfirmationList/sections/MerchantField.tsx and src/libs/actions/IOU/index.ts — the exact code paths involved in the merchant field behavior on the confirm page.
PR #87920 introduced a new isMerchantSet boolean flag on the Transaction type to distinguish between an empty merchant (field never touched) and a merchant explicitly set to the CONST.TRANSACTION.PARTIAL_TRANSACTION_MERCHANT placeholder "(none)" in the new manual expense flow.
Two interacting changes caused the regression:
setMoneyRequestMerchant now always sets isMerchantSet: true (in src/libs/actions/IOU/index.ts):
Onyx.merge(..., {merchant, isMerchantSet: true});
IOURequestStepMerchant.tsx (old flow) saves empty merchant as PARTIAL_TRANSACTION_MERCHANT (i.e. "(none)"):
This sets merchant = '(none)' and isMerchantSet = true.
MerchantField then renders displayMerchantValue = '(none)' because isMerchantSet is true.
The confirm page now shows "(none)" in the Merchant field, and attempting to submit fails with a validation error because "(none)" is treated as an invalid merchant value.
The isMerchantSet flag was designed for the new manual expense flow where clearing the text input calls clearMoneyRequestMerchant (which sets isMerchantSet: false). The old step-page flow was not updated to use clearMoneyRequestMerchant when the merchant is empty, so it falls into the broken path.
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.4.1-6 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:
@ShridharGoel / @ChavdaSachin 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]. If no checklist is needed for this issue, you can click: [no checklist button]
Activity
melvin-bot commentedon May 13, 2026
You have been assigned to this deploy blocker because you recently merged this PR: #87920
melvin-bot commentedon May 13, 2026
💬 A slack conversation has been started in #expensify-open-source
github-actions commentedon May 13, 2026
👋 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:
OSBotify commentedon May 13, 2026
Investigation Summary
Classification: Frontend bug
Causing PR: #87920 - "Feat: Manual expense flow UI refactor - r3" by @ChavdaSachin (High confidence)
Related Issues: None
Recommendation: REVERT
PR #87920 introduced a regression in the old (non-new-manual-flow) expense creation path by changing
setMoneyRequestMerchantto always setisMerchantSet: true, but the display logic inMerchantField.tsxnow depends onisMerchantSetbeingfalseto suppress the"(none)"placeholder value from being shown to the user.Assigned: @ChavdaSachin (PR author), @ShridharGoel and @puneetlath (approving reviewers)
Labels:
DeployBlockerCashkept (App PR caused the issue).DeployBlockerremoved — this is a frontend bug, no backend changes needed.Detailed Analysis
Evidence
melvin-botalready assigned the issue to the author of PR Feat: Manual expense flow UI refactor - r3 #87920, which is listed in the StagingDeployCash checklist for version9.3.74-0.src/components/MoneyRequestConfirmationList/sections/MerchantField.tsxandsrc/libs/actions/IOU/index.ts— the exact code paths involved in the merchant field behavior on the confirm page.Verification
Affected file:
src/components/MoneyRequestConfirmationList/sections/MerchantField.tsxPR #87920 modifies this file directly. The PR also modifies
src/libs/actions/IOU/index.ts.Confirmation that the PR modifies these files:
src/components/MoneyRequestConfirmationList/sections/MerchantField.tsx— modifiedsrc/libs/actions/IOU/index.ts— modifiedRoot Cause
PR #87920 introduced a new
isMerchantSetboolean flag on theTransactiontype to distinguish between an empty merchant (field never touched) and a merchant explicitly set to theCONST.TRANSACTION.PARTIAL_TRANSACTION_MERCHANTplaceholder"(none)"in the new manual expense flow.Two interacting changes caused the regression:
setMoneyRequestMerchantnow always setsisMerchantSet: true(insrc/libs/actions/IOU/index.ts):IOURequestStepMerchant.tsx(old flow) saves empty merchant asPARTIAL_TRANSACTION_MERCHANT(i.e."(none)"):This is the step page users reach when they tap the Merchant row on the confirm page in the old flow.
MerchantField.tsxdisplay logic now checksisMerchantSetto decide whether to show the value:When the user opens the Merchant step page (old flow), clears the field, and taps Save:
IOURequestStepMerchantcallssetMoneyRequestMerchant(transactionID, '(none)', true, ...).merchant = '(none)'andisMerchantSet = true.MerchantFieldthen rendersdisplayMerchantValue = '(none)'becauseisMerchantSetistrue."(none)"in the Merchant field, and attempting to submit fails with a validation error because"(none)"is treated as an invalid merchant value.The
isMerchantSetflag was designed for the new manual expense flow where clearing the text input callsclearMoneyRequestMerchant(which setsisMerchantSet: false). The old step-page flow was not updated to useclearMoneyRequestMerchantwhen the merchant is empty, so it falls into the broken path.19 remaining items
melvin-bot commentedon Jun 10, 2026
Reviewinglabel has been removed, please complete the "BugZero Checklist".melvin-bot commentedon Jun 10, 2026
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.4.1-6 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 2026-06-17. 🎊
For reference, here are some details about the assignees on this issue:
melvin-bot commentedon Jun 10, 2026
@ShridharGoel / @ChavdaSachin 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]. If no checklist is needed for this issue, you can click: [no checklist button]
melvin-bot commentedon Jun 15, 2026
@ShridharGoel Eep! 4 days overdue now. Issues have feelings too...
melvin-bot commentedon Jun 16, 2026
Triggered auto assignment to @mallenexpensify (
Awaiting Payment)melvin-bot commentedon Jun 16, 2026
Payment Summary
Upwork Job
BugZero Checklist (@mallenexpensify)
mallenexpensify commentedon Jun 18, 2026
@ShridharGoel I'm assuming this is a regression and not due payment, comment if you disagree, if not, I'll close in a few days.
ShridharGoel commentedon Jun 18, 2026
Yes, this can be closed.