Repository navigation
Closed
Labels
BugSomething is broken. Auto assigns a BugZero manager.Something is broken. Auto assigns a BugZero manager.DailyKSv2KSv2EngineeringExternalAdded to denote the issue can be worked on by a contributorAdded to denote the issue can be worked on by a contributorHelp WantedApply this label when an issue is open to proposals by contributorsApply this label when an issue is open to proposals by contributorsMelvin TriageAutomatic AI Analysis of an issueAutomatic AI Analysis of an issueretest-weeklyApply this label if you want this issue tested on a Weekly basis by ApplauseApply this label if you want this issue tested on a Weekly basis by Applause
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.2.62-0
Reproducible in staging?: Y
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 TestRail: #71280
Email or phone of affected tester (no customers): htad26+fdfdfdgd@gmail.com
Issue reported by: Applause - Internal Team
Action Performed:
- As user A create a workspace
- Go to workspace chat
- Click on header > Members > Invite a new user > Invite User B
- Return to workspace chat > Click invite to chat only
- Login to new dot as User B > Open the workspace chat
- As User A submit a new expense
- As User B, observe the newly submitted expense
Expected Result:
The submitted expense should be displayed
Actual Result:
Empty report is displayed on the employee's side
Workaround:
Unknown
Platforms:
Select the officially supported platforms where the issue was reproduced:
- Android: App
- Android: mWeb Chrome
- iOS: App
- iOS: mWeb Safari
- iOS: mWeb Chrome
- Windows: Chrome
- MacOS: Chrome / Safari
- MacOS: Desktop
Platforms Tested:
On which of our officially supported platforms was this issue tested:- Android: App
- Android: mWeb Chrome
- iOS: App
- iOS: mWeb Safari
- iOS: mWeb Chrome
- Windows: Chrome
- MacOS: Chrome / Safari
- MacOS: Desktop
Screenshots/Videos
Add any screenshot/video evidence
Bug7010175_1763733960681.2025-11-21_17_04_11.mp4
Upwork Automation - Do Not Edit
- Upwork Job URL: https://www.upwork.com/jobs/~021993034317149435838
- Upwork Job ID: 1993034317149435838
- Last Price Increase: 2026-03-02
Issue Owner
Current Issue Owner: @hoangzinhMetadata
Metadata
Labels
BugSomething is broken. Auto assigns a BugZero manager.Something is broken. Auto assigns a BugZero manager.DailyKSv2KSv2EngineeringExternalAdded to denote the issue can be worked on by a contributorAdded to denote the issue can be worked on by a contributorHelp WantedApply this label when an issue is open to proposals by contributorsApply this label when an issue is open to proposals by contributorsMelvin TriageAutomatic AI Analysis of an issueAutomatic AI Analysis of an issueretest-weeklyApply this label if you want this issue tested on a Weekly basis by ApplauseApply this label if you want this issue tested on a Weekly basis by Applause
Activity
melvin-bot commentedon Nov 21, 2025
Triggered auto assignment to @dylanexpensify (
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.melvin-bot commentedon Nov 21, 2025
Triggered auto assignment to @Julesssss (
DeployBlockerCash), see https://stackoverflowteams.com/c/expensify/questions/9980/ for more details.melvin-bot commentedon Nov 21, 2025
💬 A slack conversation has been started in #expensify-open-source
github-actions commentedon Nov 21, 2025
👋 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:
parasharrajat commentedon Nov 21, 2025
This might also be happening on production, as I didn't change that functionality.
92 remaining items
MelvinBot commentedon Feb 20, 2026
Proposal
Please re-state the problem that we are trying to solve in this issue.
When an admin submits an expense in a workspace chat, chat-only invited members see an empty report (showing an "Open for details" placeholder with an eye-disabled icon) instead of the actual submitted expense. The expense preview never loads unless the user manually refreshes or navigates away and back.
What is the root cause of that problem?
The root cause is a missing iouReport in the Pusher event payload combined with no client-side fallback fetch.
When an admin submits an expense, the server broadcasts an
ONYX_API_UPDATEPusher event to all workspace chat participants. For chat-only members, this event includes thereportAction(of typeREPORT_PREVIEW) which references aniouReportIDviaoriginalMessage.linkedReportID, but does not include the actualiouReportdata at the Onyx keyreport_{iouReportID}.The frontend data flow then breaks down as follows:
User.ts:966-988applies the raw Onyx updates directly — it does not fetch any referenced data that's missing from the payloaduseReportWithTransactionsAndViolations.ts:15subscribes toreport_{iouReportID}in Onyx viauseOnyx, which returnsundefinedsince the report was never storedMoneyRequestReportPreviewContent.tsx:147computesshouldShowAccessPlaceHolder = !iouReport && !shouldShowLoading, which evaluates totrueMoneyRequestReportPreviewContent.tsx:912rendersAccessMoneyRequestReportPreviewPlaceHolder(the eye-disabled icon with "Open for details") instead of the transaction carouselThere is no
useEffector other mechanism inMoneyRequestReportPreviewor its content component to detect thatiouReportIDis present butiouReportis missing, and trigger a fetch viaopenReport().The intermittent nature of the bug is explained by whether the user already has the iouReport cached in Onyx from a previous session or navigation.
What changes do you think we should make in order to solve the problem?
This is primarily a backend issue — the Pusher event payload should include the
iouReportdata for workspace chat members who have access to it. A backend PR has already been submitted by @mjasikowski.As a complementary frontend resilience fix, add a
useEffectinMoneyRequestReportPreviewContent.tsx(orindex.tsx) that detects wheniouReportIDis truthy butiouReportisundefined(and loading is complete), and callsopenReport(iouReportID)once to fetch the missing data. Use auseRefflag to prevent repeated fetches on re-renders. While the fetch is in progress, show a loading skeleton instead of the access placeholder.What alternative solutions did you explore? (Optional)
openReportas a fallback would work but adds unnecessary network requests for every user. The backend fix is the right primary solution since it eliminates the problem at the source.Next Steps for Contributor+ team: Reply with
@MelvinBot implement thisto create a draft PR, or@MelvinBot <your feedback>to refine this analysis.mjasikowski commentedon Feb 24, 2026
@hoangzinh yes, it's deployed
hoangzinh commentedon Feb 25, 2026
cool. Can we request re-test for this issue?
mjasikowski commentedon Feb 25, 2026
Requested retest
IuliiaHerets commentedon Feb 25, 2026
@mjasikowski Chrome / v9.3.25-13
The empty report does not reproduce. But when user B opens the expense report, there are 2 expenses.
Screen.Recording.2026-02-25.at.12.10.40.mp4
mvtglobally commentedon Feb 28, 2026
Issue not reproducible during KI retests. (Second week)
melvin-bot commentedon Mar 2, 2026
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸
hoangzinh commentedon Mar 3, 2026
@mjasikowski we can close this issue. The reported bug above will be addressed in this issue #83442
mjasikowski commentedon Mar 3, 2026
@dylanexpensify please handle payment here and we're good