-
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
[HOLD for payment 2024-10-25] [$250] Invoice - Invoice room is not archived after deleting the workspace offline #49113
Comments
Triggered auto assignment to @dylanexpensify ( |
We think that this bug might be related to #vip-bills |
@dylanexpensify 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 |
ProposalPlease re-state the problem that we are trying to solve in this issue.The invoice room is not archived after deleting the workspace offline. What is the root cause of that problem?When deleting workspaces, we choose what report to be archived here: App/src/libs/actions/Policy/Policy.ts Lines 312 to 314 in 7748eff
However, an invoice sent from user A will have What changes do you think we should make in order to solve the problem?We should add logic to include invoice chat sent from others as well, like what we did here Update this: App/src/libs/actions/Policy/Policy.ts Line 313 in 7748eff
to: (report) =>
(report?.policyID === policyID || (report?.invoiceReceiver && 'policyID' in report?.invoiceReceiver && report?.invoiceReceiver.policyID == policyID)) &&
(ReportUtils.isChatRoom(report) || ReportUtils.isPolicyExpenseChat(report) || ReportUtils.isTaskReport(report)),
What alternative solutions did you explore? (Optional) |
@dylanexpensify Huh... This is 4 days overdue. Who can take care of this? |
reviewing today! |
@dylanexpensify Eep! 4 days overdue now. Issues have feelings too... |
@davidcardoza can you confirm if this is unexpected behavior? |
Do we archive workspace rooms after a workspace is delete? If yes, an invoice room should follow the same pattern. |
@dylanexpensify this issue was created 2 weeks ago. Are we close to a solution? Let's make sure we're treating this as a top priority. Don't hesitate to create a thread in #expensify-open-source to align faster in real time. Thanks! |
@dylanexpensify Huh... This is 4 days overdue. Who can take care of this? |
Any update on this issue? |
@dylanexpensify 6 days overdue. This is scarier than being forced to listen to Vogon poetry! |
@davidcardoza sorry for delay, yes, we do archive rooms when a workspace is deleted, so agree we follow that logic here with invoice rooms. |
Job added to Upwork: https://www.upwork.com/jobs/~021841806197088184582 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @dukenv0307 ( |
Triggered auto assignment to @trjExpensify ( |
Reassigning as I head to parental leave next week! Thanks Tom! |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.50-8 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-25. 🎊 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:
|
👋 checklist time! |
Awaiting checklist cc @dukenv0307 |
For Melv, agreed! |
BugZero Checklist:
Regression test:
Do we 👍 or 👎 |
@jasperhuangg I completed the checklist |
Payment summary as follows:
|
@davidcardoza for the invoice project, are regression tests being handed over centrally to Applause to add to TestRail, and is one for deleting the workspace and archiving the invoice room included? |
Yes, test cases to cover invoices were added to TestRail - https://github.com/Expensify/Expensify/issues/410043 There is not a test for deleting the workspace and archiving the invoice room. I can add it a new regression test to to it though. Before I spin up a new GH to add the QA test, is what's missing this:
Anything else? |
I think that covers it! |
Cool, so everyone is paid here now. I'll close it out! |
@trjExpensify @jasperhuangg Be sure to fill out the Contact List! |
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.33-1
Reproducible in staging?: Y
Reproducible in production?: Y
Issue was found when executing this PR: #48275
Email or phone of affected tester (no customers): applausetester+kh010901@applause.expensifail.com
Issue reported by: Applause Internal Team
Action Performed:
Precondition:
Expected Result:
The invoice chat should be archived after deleting the workspace offline.
Actual Result:
The invoice room is not archived after deleting the workspace offline.
Workaround:
Unknown
Platforms:
Screenshots/Videos
Bug6601022_1726146959362.20240912_210831.mp4
Add any screenshot/video evidence
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @trjExpensifyThe text was updated successfully, but these errors were encountered: