-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[HOLD for payment 2024-07-10] [HOLD for payment 2024-07-02] Expense - Expense report shows a blank message instead of "detached a receipt from expense" #44207
Comments
Triggered auto assignment to @greg-schroeder ( |
👋 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:
|
Triggered auto assignment to @grgia ( |
@grgia FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors |
We think that this bug might be related to #wave-collect - Release 1 |
ProposalPlease re-state the problem that we are trying to solve in this issue.Expense - Expense report shows a blank message instead of "detached a receipt from expense" when user delete receipt. What is the root cause of that problem?When user remove receipt, the server will return report action with type: App/src/libs/ReportActionsUtils.ts Line 1162 in 4dc1710
In PR: #40168 App/src/libs/ReportActionsUtils.ts Lines 1199 to 1203 in 4dc1710
The content of reportActions is: And will make the What changes do you think we should make in order to solve the problem?If this is deploy blocker: function getMessageOfOldDotReportAction(reportAction: OnyxEntry<ReportAction>): string {
return reportAction?.message?.map((element) => getTextFromHtml(element?.text)).join('') ?? '';
} |
Current assignee @grgia is eligible for the DeployBlockerCash assigner, not assigning anyone new. |
👋 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:
|
I'm pretty sure this is caused by this PR — particularly the changes to |
@deetergp yes, the fix is to revert the function getMessageOfOldDotReportAction(reportAction: OnyxEntry<ReportAction>): string {
return reportAction?.message?.map((element) => getTextFromHtml(element?.text)).join('') ?? '';
} |
cc @nkdengineer |
checking this now. |
cc @c3024 The PR is ready. |
This should be fixed now. I have asked for a retest here. |
@deetergp issue fixed 20240625_233359.mp4 |
Since the bug is fixed I'm going to close this one out. Thanks all 👋 |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.1-19 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 2024-07-02. 🎊 |
BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.3-7 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 2024-07-10. 🎊 |
BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:
|
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.0.1.0
Reproducible in staging?: y
Reproducible in production?: no new feature
If this was caught during regression testing, add the test name, ID and link from TestRail: n/a
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: Applause internal team
Slack conversation:
Action Performed:
Expected Result:
"detached a receipt from expense" system message will be visible in the expense report.
Actual Result:
"detached a receipt from expense" system message is not visible in the expense report.
The message is blank in the report. It only displays the message in LHN preview.
Workaround:
unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Bug6521472_1719064301749.20240622_201403.mp4
View all open jobs on GitHub
Issue Owner
Current Issue Owner: @greg-schroederThe text was updated successfully, but these errors were encountered: