-
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
[$500] [HOLD for payment 2024-01-26] Request Money - User is redirected to chat then IOU report after deleting request offline #34263
Comments
👋 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:
|
Triggered auto assignment to @blimpich ( |
Looking at this now. |
Borked my VM, taking awhile to fix it in order to test this out locally. |
Edit: sorry commented in wrong issue 🙏 |
Issue is reproduced on build 1.4.24.0 Screen_Recording_20240110_162525_New.Expensify.mp4 |
Alright taking a look at this again. |
Looking into this now |
ProposalPlease re-state the problem that we are trying to solve in this issue.On deletion of the last Money Request, user is redirected to Chat Report momentarily and then to the IOU report. What is the root cause of that problem?When we delete a money request from the transaction thread, we navigate back again to the parent Money Request report here because of the condition here. This was done to handle a specific issue (i.e. deletion of a Money Request when multiple Money Requests exist) as mentioned here for which a PR was recently raised here. Since we have introduced the offline support for Money Request deletion, we do not delete the Money Request report but maintain in Onyx as shown here until a successful API response comes back from server. However, this will make the condition What changes do you think we should make in order to solve the problem?We can check if the Money Request report is marked for deletion as we do here. We can apply the same check here and skip the navigation back to the Money Request report. We can also create a utility function instead of duplicating the code. What alternative solutions did you explore? (Optional) |
I agree, I was kind on the fence for whether or not it should be deploy blocker. We can just deal with this as a normal issue. |
@blimpich The proposal looks good to me, and I just tested this PR #34320 and it works as expected. Should we proceed with it? |
@fedirjh Yup! |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.27-1 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-01-26. 🎊 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:
|
Job added to Upwork: https://www.upwork.com/jobs/~01abb6552e1259c745 |
Current assignee @fedirjh is eligible for the External assigner, not assigning anyone new. |
@fedirjh @rojiphil pls apply to upwork job https://www.upwork.com/jobs/~01abb6552e1259c745 |
@laurenreidexpensify sorry I forgot to comment here but payment for this issue was handled by this issue already #26511. I should have commented. |
See this comment: #26511 (comment) |
Ah cool - if that's the case then @fedirjh please complete checklist and we can close. Thanks |
@laurenreidexpensify This regression with a recent PR and the author already fixed it. It was marked as deploy blocker so I believe we have the necessary regression test in place. |
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.24-0
Reproducible in staging?: y
Reproducible in production?: n
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:
Expected Result:
User is redirected to the main chat after deleting the request.
Actual Result:
User is redirected to the main chat first, then back to IOU report.
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6337882_1704903684423.Screen_Recording_20240110_222315_New_Expensify.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: