Skip to content

[$500] Request money - Deleted request shows empty details when the details page has messages #34425

Closed

Description

@kavimuru

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: v1.4.24-7
Reproducible in staging?: y
Reproducible in production?: y
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:

  1. Go to workspace chat.
  2. Create any request.
  3. Go to the details page and send a message.
  4. Click 3-dot menu > Delete request.
  5. Delete the request.

Expected Result:

The request details page will be blank except the bottom part where it shows messages (previous behavior).

Actual Result:

The request details page shows empty details (Amount, date, description etc).

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

Bug6339833_1705045583836.20240111_215828.mp4

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~01d86a2dfc9f2be794
  • Upwork Job ID: 1745748245116649472
  • Last Price Increase: 2024-02-02
  • Automatic offers:
    • dukenv0307 | Contributor | 28142050

Activity

  1. added
    ExternalAdded to denote the issue can be worked on by a contributor
    BugSomething is broken. Auto assigns a BugZero manager.
    on Jan 12, 2024
  2. changed the title [-]Request money - Deleted request shows empty details when the details page has messages[/-] [+][$500] Request money - Deleted request shows empty details when the details page has messages[/+] on Jan 12, 2024
  3. melvin-bot commented on Jan 12, 2024

    @melvin-bot
  4. melvin-bot commented on Jan 12, 2024

    @melvin-bot

    Triggered auto assignment to @muttmuure (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.

  5. added
    Help WantedApply this label when an issue is open to proposals by contributors
    on Jan 12, 2024
  6. melvin-bot commented on Jan 12, 2024

    @melvin-bot

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

  7. dukenv0307 commented on Jan 12, 2024

    @dukenv0307
    Contributor

    Proposal

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

    The request details page shows empty details (Amount, date, description etc).

    What is the root cause of that problem?

    We always display MoneyRequestView in transaction thread report

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

    We can display [Deleted Request] message if the transaction is deleted the same way as we do for the canceled task.

    We can do that by checking ReportActionsUtils.isDeletedParentAction(parentReportAction)

    if (ReportUtils.isCanceledTaskReport(props.report, parentReportAction)) {

    What alternative solutions did you explore? (Optional)

    In MoneyRequestView, we can return null or return [Deleted Request] if the transaction is deleted (is undefined) or check ReportActionsUtils.isDeletedParentAction(parentReportAction) as we do in MoneyRequestAction

  8. bernhardoj commented on Jan 12, 2024

    @bernhardoj
    Contributor

    The temporary code to hide the money request view was cleaned up in #33633

    cc: @youssef-lr

  9. dukenv0307 commented on Jan 12, 2024

    @dukenv0307
    Contributor

    Actually, we are using transaction as props in MoneyRequestView, so we can do it as a new issue to fix this case.

  10. melvin-bot commented on Jan 15, 2024

    @melvin-bot

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

  11. 47 remaining items

  12. dukenv0307 commented on Feb 15, 2024

    @dukenv0307
    Contributor

    @allroundexperts The PR is ready for review.

  13. melvin-bot commented on Mar 11, 2024

    @melvin-bot

    This issue has not been updated in over 15 days. @MariaHCD, @allroundexperts, @muttmuure, @dukenv0307 eroding to Monthly issue.

    P.S. Is everyone reading this sure this is really a near-term priority? Be brave: if you disagree, go ahead and close it out. If someone disagrees, they'll reopen it, and if they don't: one less thing to do!

  14. allroundexperts commented on Mar 11, 2024

    @allroundexperts
    Contributor

    This was deployed to production 2 weeks ago. I think we're just pending the payment here. cc @muttmuure

  15. muttmuure commented on Mar 20, 2024

    @muttmuure
    Contributor

    $500 - @allroundexperts for C+
    $500 - @dukenv0307 paid on Upwork

  16. JmillsExpensify commented on Apr 1, 2024

    @JmillsExpensify
    Contributor

    $500 approved for @allroundexperts

  17. melvin-bot commented on Apr 9, 2024

    @melvin-bot

    This issue has not been updated in over 14 days. @MariaHCD, @allroundexperts, @muttmuure, @dukenv0307 eroding to Weekly issue.

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

Metadata

Metadata

Labels

BugSomething is broken. Auto assigns a BugZero manager.EngineeringInternalRequires API changes or must be handled by Expensify staffReviewingHas a PR in reviewWeeklyKSv2

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions