-
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-12-05] [HOLD for payment 2024-12-03] [$250] mweb/Chrome - Thread - Not here page when open multi level threads #52204
Comments
Triggered auto assignment to @Christinadobrzyn ( |
I'm not getting this error. Asking QA for more information on the error screenRecording-8-11-2024-13-49.mp4 |
This has been labelled "Needs Reproduction". Follow the steps here: https://stackoverflowteams.com/c/expensify/questions/16989 |
This is most likely the same as #51825 (comment) which is easier to repro while offline. Can we reopen that issue or should I move my proposal here? |
Tester still can reproducible the issue with the same steps 922ca273-f50f-4268-9c24-775b8645aec8.mp4 |
Job added to Upwork: https://www.upwork.com/jobs/~021855829217876432826 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @hoangzinh ( |
Thanks, @bernhardoj. Let's move forward with this GH, feel free to move your proposal here. Also adding External so @hoangzinh can review the proposal. |
Edited by proposal-police: This proposal was edited at 2024-11-13 15:49:30 UTC. ProposalPlease re-state the problem that we are trying to solve in this issue.Not found page is shown after going to a new thread. It's easier to repro while offline. What is the root cause of that problem?When we open the new thread while offline, there will be 3 open report request (but only the last one sent). The first one when we optimistically create the thread and then send the parent report action ID to the request (along with other data). App/src/libs/actions/Report.ts Lines 1099 to 1101 in 6763f1a
The 2nd one is when the report screen is mounted. App/src/pages/home/ReportScreen.tsx Lines 489 to 496 in 6763f1a
And the 3rd one is in this effect. (there is an issue to prevent this to be called) App/src/pages/home/ReportScreen.tsx Lines 580 to 587 in 6763f1a
The 2nd and 3rd calls shouldn't be made because it's an optimistic report. App/src/pages/home/ReportScreen.tsx Lines 441 to 446 in 6763f1a
App/src/libs/shouldFetchReport.ts Lines 4 to 8 in 6763f1a
However, the App/src/pages/home/ReportScreen.tsx Lines 337 to 339 in 6763f1a
But when we open report, the report actions is still loading, so What changes do you think we should make in order to solve the problem?I think it doesn't make sense to tie App/src/pages/home/ReportScreen.tsx Lines 441 to 443 in 6763f1a
|
Thanks for the proposal @bernhardoj, Can you help me understand why OpenReport to be called 3 times will cause "Not here page" error? Thank you. |
It's not that the "multiple OpenReport" causes the issue, but rather that the 2nd and 3rd OpenReport doesn't have |
It's clearer. Thanks @bernhardoj. Can you further help me understand why 3rd (and 2nd) OpenReport doesn't have |
It's the BE response that returns not found when the |
I see. @bernhardoj can you put above comment into your RCA section? It would help the internal engineer review better. |
Updated. |
Thanks @bernhardoj. His proposal looks good to me Link to proposal #52204 (comment) 🎀👀🎀 C+ reviewed |
Triggered auto assignment to @aldo-expensify, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
Another PR to fix #53013 is up. Now I fully understand why not found view shows when linking to a comment (including thread parent action). When we are linking to a comment but the App/src/libs/PaginationUtils.ts Lines 174 to 177 in ba65563
Before #44488, we always trigger OpenReport when linking to a comment to fetch the But that PR moved it to The reason was explained here. The new PR I raise fix it by making it work like before. I have made sure that there won't be double OpenReport when comment linking. |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.66-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-12-03. 🎊 For reference, here are some details about the assignees on this issue:
|
@hoangzinh @Christinadobrzyn @hoangzinh 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] |
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.67-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-12-05. 🎊 For reference, here are some details about the assignees on this issue:
|
@hoangzinh @Christinadobrzyn @hoangzinh 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] |
BugZero Checklist:
Bug classificationSource of bug:
Where bug was reported:
Who reported the bug:
Regression Test Proposal Template
Regression Test ProposalPrecondition:Test:Do we agree 👍 or 👎 |
whoops! sorry for posting ^ @hoangzinh- Let us know about a regression test. |
@Christinadobrzyn I think we won't need a regression test for this issue. It's an edge-case issue when user creates a new thread while offline, in online case it's hard to reproduce. Btw, I think we already have a regression test somewhere to cover a scenario that creates a new thread. |
Awesome! thanks @hoangzinh! Contributor: @bernhardoj paid $250 via NewDot Payment day is tomorrow |
Payment Summary
BugZero Checklist (@Christinadobrzyn)
|
Requested in ND. |
$250 approved for @bernhardoj |
@hoangzinh can you please submit a request for payment through NewDot? TY! |
ah yes. Thanks @Christinadobrzyn. Requested in ND |
Awesome! TY! Closing! |
$250 approved for @hoangzinh |
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.59-0
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught on HybridApp, is this reproducible on New Expensify Standalone?: N/A
If this was caught during regression testing, add the test name, ID and link from TestRail: https://expensify.testrail.io/index.php?/tests/view/5193203&group_by=cases:section_id&group_order=asc&group_id=291935
Issue reported by: Applause - Internal Team
Action Performed:
2 Reply in the thread of this message
Expected Result:
All thread should open and no error page should appear
Actual Result:
Error page opens when open the last multi level thread/ same behavior occurs while creating multi level threads too
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6657771_1730995176084.Recording__4483.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @ChristinadobrzynThe text was updated successfully, but these errors were encountered: