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
[HOLD for payment 2024-05-22] Hold expense - Thread header for system message is different from the actual system message #41202
Awaiting PaymentAuto-added when associated PR is deployed to productionBugSomething is broken. Auto assigns a BugZero manager.DailyKSv2InternalRequires API changes or must be handled by Expensify staff
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. Link to comment:
A discussion in #expensify-bugs 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:
N/A
Determine if we should create a regression test for this bug.
Yes
If we decide to create a regression test for the bug, please propose the regression test steps to ensure the same bug will not reach production again.
Regression Test Proposal
1. Submit a new expense to anyone
2. Open the transaction thread and put it on hold
3. Unhold the expense
4. There is currently a BE bug, so refresh/reopen the transaction thread
5. Right-click or long-press the hold/unhold system message
6. Choose Reply in thread
7. Verify the thread title for hold system message is "held this expense"
8. Verify the thread title for unhold system message is "unheld this expense"
Awaiting PaymentAuto-added when associated PR is deployed to productionBugSomething is broken. Auto assigns a BugZero manager.DailyKSv2InternalRequires API changes or must be handled by Expensify staff
Activity
melvin-bot commentedon Apr 29, 2024
Triggered auto assignment to @miljakljajic (
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.izarutskaya commentedon Apr 29, 2024
We think this issue might be related to the #collect project.
dragnoir commentedon Apr 29, 2024
BE issue.
bernhardoj commentedon Apr 30, 2024
Proposal
Please re-state the problem that we are trying to solve in this issue.
The thread header title for hold system message is different than the message.
What is the root cause of that problem?
For a thread, the header title will take the parent action message. The hold system message is "held this money request" as shown below

But when we render the hold system message, we render a custom message, that is "held this expense".
App/src/pages/home/report/ReportActionItem.tsx
Lines 584 to 589 in e0c12a5
What changes do you think we should make in order to solve the problem?
We have 2 options,
First, in ReportUtils.getReportName, if it's a hold action, then we show the custom message ("held this expense").
App/src/libs/ReportUtils.ts
Lines 3057 to 3092 in e0c12a5
OR
Show the original message of the hold action, just like what we did for HOLD_COMMENT.
App/src/pages/home/report/ReportActionItem.tsx
Lines 584 to 589 in e0c12a5
Depends on the team which message to use.
we need to fix for unhold action too
melvin-bot commentedon May 2, 2024
Job added to Upwork: https://www.upwork.com/jobs/~01de18ac2a60287419
melvin-bot commentedon May 2, 2024
Triggered auto assignment to Contributor Plus for review of internal employee PR - @Ollyws (
Internal)28 remaining items
Ollyws commentedon May 22, 2024
Requested payment in ND for this one.
Ollyws commentedon May 23, 2024
BugZero Checklist:
#38884
#38884 (comment)
N/A
Yes
Regression Test Proposal
Do we agree 👍 or 👎
neil-marcellini commentedon May 23, 2024
I don't think we really need a regression test for this one, at least not until we fix the backend bug you mentioned.
miljakljajic commentedon May 27, 2024
Payment summary: @Ollyws is owed 500 USD for their work on this issue
miljakljajic commentedon May 27, 2024
Bernard has been paid
Ollyws commentedon May 27, 2024
@miljakljajic Was this one a $500 not $250?
JmillsExpensify commentedon May 28, 2024
Reached out to Milja via DM to confirm.
miljakljajic commentedon Jun 5, 2024
Apologies, this should be 250! Updated summary:
Payment summary: @Ollyws is owed 250 USD for their work on this issue
miljakljajic commentedon Jun 5, 2024
I will request a refund from Bernard via upwork
bernhardoj commentedon Jun 5, 2024
I think I get paid correctly

JmillsExpensify commentedon Jun 5, 2024
$250 approved for @Ollyws