Skip to content
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

Search-Expense report opens instead of transaction thread when expense with comment is deleted #47538

Closed
6 tasks done
IuliiaHerets opened this issue Aug 16, 2024 · 16 comments
Closed
6 tasks done
Assignees
Labels
Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 Engineering Internal Requires API changes or must be handled by Expensify staff

Comments

@IuliiaHerets
Copy link

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: v9.0.21-0
Reproducible in staging?: Y
Reproducible in production?: N
Email or phone of affected tester (no customers): applausetester+kh050806@applause.expensifail.com
Issue reported by: Applause Internal Team

Action Performed:

  1. Go to staging.new.expensify.com
  2. Submit two expenses to any user.
  3. Go to transaction thread of second expense.
  4. Send a reply and delete the expense.
  5. Go to Search.
  6. Click on the first expense submitted in Step 2.

Expected Result:

The transaction thread should open.

Actual Result:

The expense report opens.

Workaround:

Unknown

Platforms:

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

Screenshots/Videos

Bug6573414_1723762324527.20240816_064726.mp4

View all open jobs on GitHub

@IuliiaHerets IuliiaHerets added DeployBlockerCash This issue or pull request should block deployment Bug Something is broken. Auto assigns a BugZero manager. labels Aug 16, 2024
Copy link

melvin-bot bot commented Aug 16, 2024

Triggered auto assignment to @MonilBhavsar (DeployBlockerCash), see https://stackoverflowteams.com/c/expensify/questions/9980/ for more details.

Copy link

melvin-bot bot commented Aug 16, 2024

Triggered auto assignment to @anmurali (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.

@melvin-bot melvin-bot bot added the Daily KSv2 label Aug 16, 2024
@github-actions github-actions bot added Engineering Hourly KSv2 and removed Daily KSv2 labels Aug 16, 2024
Copy link
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.

@IuliiaHerets
Copy link
Author

We think that this bug might be related to #wave-collect - Release 1

@MonilBhavsar
Copy link
Contributor

cc @luacmartins since you're working on Search and seems to be coming from #46324.
I believe this is backend back. We need to account for deleted transactions on the server side

@luacmartins
Copy link
Contributor

I don't think this is a blocker. We can still access the data, just one level deeper. I'll look into a backend solution for this.

@MonilBhavsar
Copy link
Contributor

Thanks Carlos! Should I assign you to this issue?

@Beamanator
Copy link
Contributor

Marked NAB here but not in the deploy checklist, interesting 🧐 🤣 :paddlin:

@Kicu
Copy link
Contributor

Kicu commented Aug 19, 2024

@luacmartins do I assume correctly that for now there is no work in the on front-end App side of things?

@melvin-bot melvin-bot bot added the Overdue label Aug 19, 2024
@luacmartins
Copy link
Contributor

@shawnborton @JmillsExpensify could you confirm the behavior in this case? Should we open the transaction thread or expense report in this case? TLDR user has 2 expenses, leaves a comment on one of the threads and deletes that expense, effectively ending up with a single expense report.

@melvin-bot melvin-bot bot removed the Overdue label Aug 19, 2024
@shawnborton
Copy link
Contributor

Hmm I am a bit stumped on that one. Seems like it would make more sense to just open up the expense view, especially from the Expenses > All filter.

@luacmartins
Copy link
Contributor

So open the expense report instead of the transaction thread?

@shawnborton
Copy link
Contributor

Opposite - in that case, seems like opening the transaction view is better.

@luacmartins
Copy link
Contributor

Hmm ok, so we'd need to change the backend logic a bit.

@luacmartins luacmartins added the Internal Requires API changes or must be handled by Expensify staff label Aug 19, 2024
@luacmartins
Copy link
Contributor

Cool, got a PR up to fix this one

@melvin-bot melvin-bot bot added the Overdue label Aug 21, 2024
@luacmartins
Copy link
Contributor

This has been fixed!

@melvin-bot melvin-bot bot removed the Overdue label Aug 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 Engineering Internal Requires API changes or must be handled by Expensify staff
Projects
None yet
Development

No branches or pull requests

7 participants