-
Notifications
You must be signed in to change notification settings - Fork 3k
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
[HOLD for payment 2024-10-14] [$250] Expense - Main chat with RBR is not removed after dismissing error from expense report #46662
Comments
Triggered auto assignment to @JmillsExpensify ( |
@JmillsExpensify 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 |
We think that this bug might be related to #wave-collect - Release 1 |
ProposalPlease re-state the problem that we are trying to solve in this issue.The main chat isn't removed when clearing the transaction from the expense report. What is the root cause of that problem?This was previously solved at #44923. Clearing the error will delete the main chat and all its child reports if the main chat fails to be created. App/src/components/ReportActionItem/MoneyRequestView.tsx Lines 441 to 455 in ec38b05
However, in #44142, they handle another case where the app will navigate back depending on whether to delete the transaction thread only or also the expense report (IOU.cleanUpMoneyRequest). If the expense report is deleted, then the user will be navigated back to the main chat. This works well to cover the case where the main chat is created. The problem is, that the logic for this takes priority over the logic explained in the first sentence above. What changes do you think we should make in order to solve the problem?We should restructure the condition so if the main report/chat fails to be created, then we will perform the delete main report and its child logic, otherwise, use
We won't need this logic anymore too. It was added in #43346 which is now handled by IOU.cleanUpMoneyRequest. App/src/components/ReportActionItem/MoneyRequestView.tsx Lines 452 to 454 in ec38b05
|
@JmillsExpensify Huh... This is 4 days overdue. Who can take care of this? |
Job added to Upwork: https://www.upwork.com/jobs/~014accd823898117ec |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @getusha ( |
Added as wave-control polish and opened up for proposal reviews. |
@bernhardoj, I don’t see how the PR you mentioned is responsible. The code that was added there isn’t navigating back without calling |
Inside the Lines 5525 to 5526 in e7fe622
If the condition is met, then the function will return a route to the chat report. Lines 5581 to 5583 in e7fe622
|
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
@JmillsExpensify, @getusha Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
Reviewing |
@JmillsExpensify @getusha this issue was created 2 weeks ago. Are we close to approving a proposal? If not, what's blocking us from getting this issue assigned? Don't hesitate to create a thread in #expensify-open-source to align faster in real time. Thanks! |
You can follow this step to repro it:
web.mp4 |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
Issue not reproducible during KI retests. (Second week) |
@getusha Bump on the review here! |
This issue has not been updated in over 15 days. @JmillsExpensify, @yuwenmemon, @bernhardoj, @getusha 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! |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.45-4 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue: If no regressions arise, payment will be issued on 2024-10-14. 🎊 For reference, here are some details about the assignees on this issue:
|
BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:
|
Payment Summary
BugZero Checklist (@JmillsExpensify)
|
Requested in ND. |
Payment summary above is correct. |
@getusha do you mind filling out the BZ checklist before submitting via NewDot? |
Confirming the payment summary is correct. |
@JmillsExpensify, @yuwenmemon, @bernhardoj, @getusha Whoops! This issue is 2 days overdue. Let's get this updated quick! |
$250 approved for @bernhardoj |
@getusha closing this one out, though don't forget to complete the checklist and we can approve payment in NewDot. |
BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed: [@getusha] The PR that introduced the bug has been identified. Link to the PR: #44142 |
$250 approved for @getusha |
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: 9.0.15-0
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught during regression testing, add the test name, ID and link from TestRail: https://expensify.testrail.io/index.php?/tests/view/4783635
Issue reported by: Applause - Internal Team
Action Performed:
Precondition:
Expected Result:
Both the main chat and expense report with RBR will be removed after dismissing the error from the expense report
Actual Result:
The main chat with RBR is not removed after dismissing the error from the expense report
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6557035_1722320798569.20240730_142159.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @JmillsExpensifyThe text was updated successfully, but these errors were encountered: