-
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
IOU - Comment on a deleted IOU isn't opening from the combined report view #39512
Comments
Triggered auto assignment to @tgolen ( |
👋 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:
|
@tgolen 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 |
Yeah, I do think this is a bug. Before going @NikkiWines @bernhardoj Could this be a regression from #39419? |
#39419 only touches the receipt attachment modal page, so it shouldn't cause this issue. |
Still checking if this has to do something with the TS migration but wanted to say that I don't think the issue is related to commenting. The expense report level page is missing in staging for reports with single expenses (this could be expected behavior but it's not the behavior in production). And that's why in this bug, clicking replies takes you directly to the transaction thread instead of the expense report. Production (Chat -> Expense Report -> Transaction Thread): Staging (Chat -> Transaction Thread): I'm guessing that we recently made a change to directly go to the transaction thread when clicking on a report if the report only has one expense. I'll try looking at any other PRs that might've caused this and also try rolling back the TS migration but I don't think that it caused this. |
Ah, looks like a PR for single transaction pages does exist. @NikkiWines do you think this could be a regression from that? |
Thanks @srikarparsi if we can't find this one quickly, I'll make sure I can reproduce it and then use |
Sorry for the delay! It does look like it's likely tied to the one-transaction changes - though I'm not sure what the expected behavior is for comments on a request that no longer exists. I'll double-check how we handle it on prod |
@NikkiWines I reverted your PR locally and the issue got resolved 😅 This is the previous behaviour without your changes: Screen.Recording.2024-04-03.at.19.06.40.mp4The deleted report should still show up on the list, with a message saying that it was deleted |
Oh interesting, because we keep it on the report 🤔 Thanks for checking that out @pac-guerreiro I wonder if then we should just not consider it a one-transaction report if there's a previously deleted request... I'm not sure how we'd show the deleted request in a reasonable way otherwise What do you all think? |
I'm going to assign this to you for now @NikkiWines. As for the behavior, I think the situation where there is a deleted request would indicate it couldn't be a one-transaction report. |
Cool, I think that makes sense. I'm makng a follow up PR to handle some of these edge-cases and bugs we've found for this new view, so I'm gonna mark this as a non-blocker and handle it in that follow up PR. |
This issue has not been updated in over 15 days. @NikkiWines 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! |
@NikkiWines, this Monthly task hasn't been acted upon in 6 weeks; closing. If you disagree, feel encouraged to reopen it -- but pick your least important issue to close instead. |
Oops, this was actually handled as part of #39472 but the issue was never closed 😅 regardless, this one has been successfully resolved 😄 |
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.59.3
Reproducible in staging?: Y
Reproducible in production?: N
If this was caught during regression testing, add the test name, ID and link from TestRail: N/A
Issue reported by: Applause - Internal Team
Issue found when executing PR #39433
Action Performed:
Expected Result:
I should be able to view comments
Actual Result:
Comment on a deleted IOU isn't opening from the combined report view after deleting the first IOU
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6436784_1712153486741.bandicam_2024-04-03_16-02-31-958.mp4
View all open jobs on GitHub
The text was updated successfully, but these errors were encountered: