Skip to content

[$500] Expense - "This report will be reimbursed outside of Expensify" sentence disappears in thread #34051

Closed

Description

@lanitochka17

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: 1.4.22-0
Reproducible in staging?: Y
Reproducible in production?: N
If this was caught during regression testing, add the test name, ID and link from TestRail:
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:

Precondition:

  • User is an employee of a Collect workspace on Old Dot
  1. Go to workspace chat as employee
  2. Create a manual request
  3. Submit the report
  4. As admin, pay the report elsewhere
  5. As employee, click on the expense preview
  6. Right click on the reimbursement message > Reply in thread

Expected Result:

The reimbursement message will not disappear in thread

Actual Result:

Part of the reimburment message - "This report will be reimbursed outside of Expensify" disappears in thread

Workaround:

Unknown

Platforms:

Which of our officially supported platforms is this issue occurring on?

  • Android: Native
  • Android: mWeb Chrome
  • iOS: Native
  • iOS: mWeb Safari
  • MacOS: Chrome / Safari
  • MacOS: Desktop

Screenshots/Videos

Add any screenshot/video evidence

Bug6333404_1704478227009.20240105_154652.mp4

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~0188aabe1016612f59
  • Upwork Job ID: 1743440258673152000
  • Last Price Increase: 2024-01-06

Activity

  1. added
    DeployBlockerCash
    on Jan 5, 2024
  2. github-actions commented on Jan 5, 2024

    @github-actions
    Contributor

    👋 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:

    1. Identify the pull request that introduced this issue and revert it.
    2. Find someone who can quickly fix the issue.
    3. Fix the issue yourself.
  3. melvin-bot commented on Jan 5, 2024

    @melvin-bot

    Triggered auto assignment to @joelbettner (Engineering), see https://stackoverflow.com/c/expensify/questions/4319 for more details.

  4. gijoe0295 commented on Jan 5, 2024

    @gijoe0295
    Contributor

    Proposal

    Please re-state the problem that we are trying to solve in this issue.

    Reimbursement message disappears in thread header

    What is the root cause of that problem?

    We did not cover the case of MARKEDREIMBURSED in getReportName here and when we generate report name, we only take out the first item of message text which is You in this case.

    Screenshot 2024-01-06 at 08 30 55

    What changes do you think we should make in order to solve the problem?

    We should add the check to cover reimbursement message type and other cases of reimbursement messages like REIMBURSEMENTDEQUEUED or REIMBURSEMENTQUEUED as well inside isChatThread case.

    if (parentReportAction.actionName === CONST.REPORT.ACTIONS.TYPE.MARKEDREIMBURSED) {
        return ReportActionsUtils.getMarkedReimbursedMessage(parentReportAction);
    }

    What alternative solutions did you explore? (Optional)

    NA

  5. joelbettner commented on Jan 6, 2024

    @joelbettner

    @gijoe0295 can you provide some links to the code to describe where you're talking about?

  6. added
    External
    on Jan 6, 2024
  7. changed the title [-]Expense - "This report will be reimbursed outside of Expensify" sentence disappears in thread[/-] [+][$500] Expense - "This report will be reimbursed outside of Expensify" sentence disappears in thread[/+] on Jan 6, 2024
  8. melvin-bot commented on Jan 6, 2024

    @melvin-bot
  9. added
    Help Wanted
    on Jan 6, 2024
  10. melvin-bot commented on Jan 6, 2024

    @melvin-bot

    Triggered auto assignment to Contributor-plus team member for initial proposal review - @getusha (External)

  11. joelbettner commented on Jan 6, 2024

    @joelbettner
  12. 9 remaining items

  13. removed
    DeployBlockerCash
    on Jan 8, 2024
  14. added
    Daily
    and removed
    Hourly
    Help Wanted
    on Jan 8, 2024
  15. added
    Internal
    and removed
    External
    on Jan 8, 2024
  16. melvin-bot commented on Jan 8, 2024

    @melvin-bot

    Current assignee @getusha is eligible for the Internal assigner, not assigning anyone new.

  17. Beamanator commented on Jan 10, 2024

    @Beamanator
    Contributor

    Hmm honestly I don't think we want to be able to create a thread on this automated message...

    @JmillsExpensify since we've talked about this system message showing up in NewDot (the You marked this report as manually reimbursed. This report will be reimbursed outside of Expensify message): Do you think users should be able to start threads from these comments or not?

  18. melvin-bot commented on Jan 11, 2024

    @melvin-bot

    @joelbettner, @getusha Whoops! This issue is 2 days overdue. Let's get this updated quick!

  19. joelbettner commented on Jan 12, 2024

    @joelbettner

    I think this issue is going to be resolved by the two linked issues and their respective PRs above. I'm going to close. @Beamanator @jasperhuangg feel free to open if you disagree.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

DailyEngineeringInternal

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions