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.1.46-0
Reproducible in staging?: Yes
Reproducible in production?: Yes
If this was caught during regression testing, add the test name, ID and link from TestRail: https://expensify.testrail.io/index.php?/tests/view/6119602&group_by=cases:section_id&group_order=asc&group_id=296762
Email or phone of affected tester (no customers): ibellicotest+768@gmail.com
Issue reported by: Applause Internal Team
Device used: Motorola MotoG60 - Android 12 - Chrome / Windows 10 - Chrome
App Component: Money Requests
Action Performed:
Prerequisite: Have two accounts opened in two different devices or environments.
Prerequisite 2: User A has at least one workspace available.
- Open the staging.new.expensify.com website.
- Open any workspace chat.
- Tap on chat header and select "Members"
- Invite User B as member.
- Switch to User B account.
- Open the workspace chat.
- Switch to User A account again.
- Create a manual expense on workspace chat.
- Return to User B account.
- Note that expense is received, but receipt thumbnail is not displayed.
Expected Result:
Receipt thumbnail should be visible for workspace member when receiving a new expense.
Actual Result:
When an expense is created on a workspace chat, preview is displayed without receipt thumbnail on member´s side.
Workaround:
Unknown
Platforms:
- Android: App
- Android: mWeb Chrome
- iOS: App
- iOS: mWeb Safari
- iOS: mWeb Chrome
- Windows: Chrome
- MacOS: Chrome / Safari
- MacOS: Desktop
Screenshots/Videos
Bug6832695_1747364952410.Thumbnail.mp4
Upwork Automation - Do Not Edit
- Upwork Job URL: https://www.upwork.com/jobs/~021924504618975315267
- Upwork Job ID: 1924504618975315267
- Last Price Increase: 2025-05-26
Issue Owner
Current Issue Owner: @Issue Owner
Current Issue Owner: @dylanexpensifyMetadata
Metadata
Labels
Type
Projects
- StatusShow more project fieldsDone
Activity
melvin-bot commentedon May 16, 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.gijoe0295 commentedon May 16, 2025
Proposal
Please re-state the problem that we are trying to solve in this issue.
Expense preview doesn´t show receipt thumbnail on workspace member´s side
What is the root cause of that problem?
B only receives the report preview action data, the child transaction data is not send by the Pusher so
lastThreeReceiptsis empty.App/src/components/ReportActionItem/ReportPreview.tsx
Lines 246 to 247 in db7df0c
So we don't display receipt preview:
App/src/components/ReportActionItem/ReportPreview.tsx
Lines 654 to 656 in db7df0c
I also found another issue is when you refresh the page, the receipt preview does show but the report amount does not:
This is because the child transaction data is eventually returned by BE, but the IOU report data is (still) not. We did have logic to get the amount from the action message text:
App/src/components/ReportActionItem/ReportPreview.tsx
Line 315 in db7df0c
But weirdly that after refreshing, the BE sets the action message text to
Report not found, so we cannot get the amount at all:What changes do you think we should make in order to solve the problem?
To fix the first issue, we can use the report preview action
action.childMoneyRequestCountto determine the number of child transactions to display empty receipt thumbnails accordingly.Only BE fix will resolve the second issue.
What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?
None
What alternative solutions did you explore? (Optional)
openReport(iouReportID)in the FE to manually fetch IOU report and transactions data. We can update the current logic inReportScreenfor this.melvin-bot commentedon May 19, 2025
@dylanexpensify Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!
dylanexpensify commentedon May 19, 2025
clarifying here
[-]Expense - Expense preview doesn´t show receipt thumbnail on workspace member´s side[/-][+][$250] Expense - Expense preview doesn´t show receipt thumbnail on workspace member´s side[/+]melvin-bot commentedon May 19, 2025
Job added to Upwork: https://www.upwork.com/jobs/~021924504618975315267
dylanexpensify commentedon May 19, 2025
confirmed!
127 remaining items
melvin-bot commentedon Dec 17, 2025
Payment Summary
Upwork Job
BugZero Checklist (@dylanexpensify)
melvin-bot commentedon Dec 22, 2025
@dylanexpensify Huh... This is 4 days overdue. Who can take care of this?
melvin-bot commentedon Dec 24, 2025
@dylanexpensify 6 days overdue. This is scarier than being forced to listen to Vogon poetry!
melvin-bot commentedon Dec 26, 2025
@dylanexpensify Now this issue is 8 days overdue. Are you sure this should be a Daily? Feel free to change it!
melvin-bot commentedon Jan 2, 2026
This issue has not been updated in over 14 days. @sobitneupane, @mountiny, @dylanexpensify, @rayane-d eroding to Weekly issue.
dylanexpensify commentedon Jan 6, 2026
@sobitneupane bump!
dylanexpensify commentedon Jan 13, 2026
@sobitneupane breaking my heart man
sobitneupane commentedon Jan 14, 2026
Sorry for the delay, @dylanexpensify I was OOO for the past 3 weeks.
Regression Test Proposal
Precondition:
Test:
Do we agree 👍 or 👎
sobitneupane commentedon Jan 14, 2026
BugZero Checklist:
[Contributor] The offending PR has been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake.
When an admin invites a user to a submitter's workspace chat room, then the submitter creates an expense report in the workspace chat, the invited member can see the report in the chat immediately. But, because we don't share the report itself with them, it appears broken from their perspective. The PR implement this report preview access placeholder that only displays the report title and status with a "View report" button.
[Contributor] If the regression was CRITICAL (e.g. interrupts a core flow) A discussion in #expensify-open-source has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner.
Link to discussion:
[Contributor] If it was decided to create a regression test for the bug, please propose the regression test steps using the template below to ensure the same bug will not reach production again.
garrettmknight commentedon Mar 16, 2026
$250 approved for @sobitneupane