-
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-11-11] [$250] Invoices - Invoice preview sender appears and disappears when sending invoices consecutively #51128
Comments
Triggered auto assignment to @slafortune ( |
@slafortune 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.Invoices - Invoice preview sender appears and disappears when sending invoices consecutively What is the root cause of that problem?When we want to display the report, we check if the The App/src/pages/home/report/ReportActionsList.tsx Lines 522 to 525 in 66cf824
App/src/libs/ReportActionsUtils.ts Line 581 in 66cf824
When we send the invoice we pass the wrong actorAccountID and after waiting a while after BE response, the BE return correct actorAccountID, because that we can see the report preview header is briefly showed and then disappear Line 5046 in 66cf824
Line 4495 in 66cf824
As we can see the above code for managerID we're passing the receiverAccountID which is not correct Line 1946 in 66cf824
Right here we pass the above data(reportPreviewAction) to onyx Line 1974 in 66cf824
So when we test on offline mode we can see the report preview header unless you turn on the Internet What changes do you think we should make in order to solve the problem?Instead of passing the receiverAccountID here, we should pass the currentAccountID Line 4495 in 66cf824
ownerAccountID: currentUserAccountID
ResultScreen.Recording.2024-10-19.at.21.15.25.movWhat alternative solutions did you explore? (Optional)In here we can use Line 5046 in 66cf824
|
Job added to Upwork: https://www.upwork.com/jobs/~021848369344890325291 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @hoangzinh ( |
@NJ-2020 RCA and his alternative solution look good to me. Just a minor suggestion: we can add an additional check that if the report is an 🎀👀🎀 C+ reviewed |
Triggered auto assignment to @chiragsalian, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
LGTM, feel free to create the PR @NJ-2020 |
📣 @hoangzinh 🎉 An offer has been automatically sent to your Upwork account for the Reviewer role 🎉 Thanks for contributing to the Expensify app! |
📣 @NJ-2020 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
PR ready |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.56-9 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-11-11. 🎊 For reference, here are some details about the assignees on this issue:
|
@hoangzinh @slafortune The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed. Please copy/paste the BugZero Checklist from here into a new comment on this GH and complete it. If you have the K2 extension, you can simply click: [this button] |
PAYMENT SUMMARY FOR OCT 11
|
BugZero Checklist:
Bug classificationSource of bug:
Where bug was reported:
Who reported the bug:
|
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Version Number: 9.0.51-1
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/5102388
Email or phone of affected tester (no customers): [email protected]
Issue reported by: Applause Internal Team
Action Performed:
Expected Result:
The invoice preview sender will not appear and disappear when sending invoices consecutively.
Actual Result:
The invoice preview sender appears then disappears when sending invoices consecutively.
Workaround:
Unknown
Platforms:
Screenshots/Videos
Bug6639618_1729340608381.20241019_201144.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @slafortuneThe text was updated successfully, but these errors were encountered: