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
Expense - IOU expenses can be changed to 0 amount by bulk editing #82740
Version Number: 9.3.21-0 Reproducible in staging?: Yes Reproducible in production?: N/A - new feature, doesn't exist in prod If this was caught during regression testing, add the test name, ID and link from BrowserStack:#76264 Email or phone of affected tester (no customers):sodijnsojndsojsioj@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
Go to 1:1 DM with any user.
Submit two expenses.
Open the report.
Select both expenses.
Click dropdown button > Edit multiple.
Click Amount.
Enter zero > Save > Save.
Expected Result:
Error will show up on amount page because IOU expenses cannot be changed to 0 amount.
Actual Result:
No error shows up on amount page when changing IOU expense amount to 0.
👋 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.
Classification: Frontend bug Causing PR: #76264 - "Feat: bulk edit multiple" by @waterim (High confidence) Related Issues: None
Recommendation: REVERT
The bulk edit feature is missing critical validation logic that prevents zero-amount IOU expenses. Reverting #76264 will restore proper validation until a fix can be implemented.
Comparison with working code: src/pages/iou/request/step/IOURequestStepAmount.tsx (line 463) properly passes isP2P:
<MoneyRequestAmountForm// ... other propsisP2P={isParticipantP2P(getMoneyRequestParticipantsFromReport(chatReportForP2PCheck,currentUserPersonalDetails.accountID).at(0))}/>
Root Cause
In src/pages/iou/MoneyRequestAmountForm.tsx, the validation logic (lines 66-68) requires both the correct iouType AND the isP2P flag to validate zero amounts for IOU requests:
Since SearchEditMultipleAmountPage.tsx does not pass the isP2P parameter, it defaults to false (line 98 in MoneyRequestAmountForm), causing the validation to fail and allowing zero amounts to be saved for IOU expenses.
The bulk edit flow needs to:
Pass the isP2P parameter to MoneyRequestAmountForm
Determine if the selected expenses are P2P requests (checking if participants are not policy expense chats)
changed the title [-][Due for payment 2026-02-26] Expense - IOU expenses can be changed to 0 amount by bulk editing[/-][+]Expense - IOU expenses can be changed to 0 amount by bulk editing[/+]on Feb 26, 2026
Activity
melvin-bot commentedon Feb 18, 2026
You have been assigned to this deploy blocker because you recently merged this PR: #76264
melvin-bot commentedon Feb 18, 2026
💬 A slack conversation has been started in #expensify-open-source
melvin-bot commentedon Feb 18, 2026
Triggered auto assignment to @twisterdotcom (
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.github-actions commentedon Feb 18, 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 Feb 18, 2026
🔍 Investigation Summary
Classification: Frontend bug
Causing PR: #76264 - "Feat: bulk edit multiple" by @waterim (High confidence)
Related Issues: None
Recommendation: REVERT
The bulk edit feature is missing critical validation logic that prevents zero-amount IOU expenses. Reverting #76264 will restore proper validation until a fix can be implemented.
Labels: Keeping
DeployBlockerCash(Frontend bug - App PR needs revert), RemovingDeployBlocker(no backend fix needed)📋 Detailed Analysis
Evidence
PR #76264 introduced the bulk edit multiple expenses feature and was merged on 2026-02-17 at 21:17:18 UTC. The bug report indicates:
Verification
Affected file:
src/pages/Search/SearchEditMultiple/SearchEditMultipleAmountPage.tsxLines 116-130 show the
MoneyRequestAmountFormcomponent being called without theisP2Pparameter:Comparison with working code:
src/pages/iou/request/step/IOURequestStepAmount.tsx(line 463) properly passesisP2P:Root Cause
In
src/pages/iou/MoneyRequestAmountForm.tsx, the validation logic (lines 66-68) requires both the correctiouTypeAND theisP2Pflag to validate zero amounts for IOU requests:Since
SearchEditMultipleAmountPage.tsxdoes not pass theisP2Pparameter, it defaults tofalse(line 98 in MoneyRequestAmountForm), causing the validation to fail and allowing zero amounts to be saved for IOU expenses.The bulk edit flow needs to:
isP2Pparameter toMoneyRequestAmountForm20 remaining items
marcaaron commentedon Feb 26, 2026
We are working on this in #82948.
[-][Due for payment 2026-02-26] Expense - IOU expenses can be changed to 0 amount by bulk editing[/-][+]Expense - IOU expenses can be changed to 0 amount by bulk editing[/+]marcaaron commentedon Mar 9, 2026
Being tracked in PR #82948 (just merged)
marcaaron commentedon Mar 21, 2026
We're working on this in #84756
marcaaron commentedon Apr 1, 2026
Fix merged in #84756.