Repository navigation
Description
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.3.31.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: #82005
Email or phone of affected tester (no customers): ibellicotest+2250@gmail.com
Issue reported by: Applause Internal Team
Bug source: Exploratory - Significant User Experience Deterioration
Device used: Windows 11 / Chrome
App Component: Money Requests
Action Performed:
Prerequisite: Account has Self DM.
Prerequisite 2: Account has no workspace yet.
- Open the staging.new.expensify.com website.
- Navigate to Self DM.
- Create a map distance expense.
- Turn off internet connection.
- Open the just created expense.
- Tap on "More" > "Duplicate"
- Return to chat.
- Note that now a second expense is correctly displayed.
- Turn on internet connection.
- Note that "Unexpected error message" appears below the first expense.
- Dismiss the error.
- Note that preview of first expense disappears, but whisper remains displayed.
- Open the second expense and return to chat.
- Note that first expense reappears.
Expected Result:
After duplicating a distance expense while in offline mode, a new expense with the same information should appear, and both expenses should remain correctly displayed after recovering internet connection.
Actual Result:
"Unexpected error" message appears after duplicating a distance expense in offline mode in Self DM, and recovering internet connection.
After dismissing the error, preview of first expense disappears and reappears after opening second expense and returning to chat.
Workaround:
Unknown
Platforms:
- Android: App
- Android: mWeb Chrome
- iOS: App
- iOS: mWeb Safari
- iOS: mWeb Chrome
- Windows: Chrome
- MacOS: Chrome / Safari
Screenshots/Videos
Bug7094124_1772663442653.Duplicate.mp4
Upwork Automation - Do Not Edit
- Upwork Job URL: https://www.upwork.com/jobs/~022033512920148748500
- Upwork Job ID: 2033512920148748500
- Last Price Increase: 2026-03-16
Metadata
Metadata
Labels
Type
Projects
- StatusShow more project fieldsDone
Activity
melvin-bot commentedon Mar 5, 2026
You have been assigned to this deploy blocker because you recently merged this PR: #82005
melvin-bot commentedon Mar 5, 2026
💬 A slack conversation has been started in #expensify-open-source
melvin-bot commentedon Mar 5, 2026
Triggered auto assignment to @brianlee-expensify (
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 Mar 5, 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 Mar 5, 2026
🔍 Investigation Summary
Classification: Frontend bug
Causing PR: #82005 - "[Duplicate Expenses] Re-enable Distance Expense Support with fixes" by @jjcoffee (High confidence)
Related Issues: None
Recommendation: REVERT
PR #82005 re-enabled distance expense duplication which was previously disabled. The bug occurs specifically when duplicating distance expenses offline in Self DM (no workspace), then going online. The error appears because the offline transaction data is not properly handled during synchronization.
Labels: KEEP
DeployBlockerCash(this is a frontend bug requiring an App PR fix), REMOVEDeployBlocker(no backend changes needed)📋 Detailed Analysis
Evidence
Verification
PR #82005 modified the following files related to duplicate distance expenses:
src/libs/actions/IOU/Duplicate.ts- Core duplication logicsrc/libs/actions/IOU/index.ts- AddedexistingTransactionparameter handlingsrc/components/MoneyReportHeader.tsx- UI controlssrc/components/MoneyRequestHeader.tsx- UI controlsThe PR specifically added support for duplicating distance expenses in Self DM (lines 605-635 in Duplicate.ts), which was the exact scenario that triggers the bug.
Root Cause
When duplicating a distance expense offline in Self DM:
existingTransactionobject (lines 611-622 in Duplicate.ts)The PR introduced new logic to pass
existingTransactiontotrackExpense()when duplicating in Self DM, but this data structure may not be properly validated for offline-to-online synchronization.87 remaining items
melvin-bot commentedon Jun 4, 2026
This issue has not been updated in over 15 days. @akinwale, @mallenexpensify, @jjcoffee, @JS00001, @brianlee-expensify eroding to Monthly issue.
P.S. Is everyone reading this sure this is really a near-term priority? Be brave: if you disagree, go ahead and close it out. If someone disagrees, they'll reopen it, and if they don't: one less thing to do!
JS00001 commentedon Jun 8, 2026
@akinwale any updates?
akinwale commentedon Jun 8, 2026
None yet. This fell off my radar. I will re-evaluate to determine next steps.
JS00001 commentedon Jun 8, 2026
Sounds good, thanks!
akinwale commentedon Jul 22, 2026
I put this back on the BEC canvas.
JS00001 commentedon Aug 24, 2026
Added hot pick since @akinwale dropped this one
JS00001 commentedon Aug 24, 2026
Requesting a retest before adding to the BEC canvas
m-natarajan commentedon Aug 24, 2026
Not repro, Windows 11/ Chrome, v9.4.59-3
84228.mp4
JS00001 commentedon Aug 24, 2026
this is fixed