-
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
mWeb - Chat - Not here page displayed when going online after deleting a thread message #51825
Comments
Triggered auto assignment to @OfstadC ( |
@OfstadC 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.Not found page is shown after going to a new thread 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
|
I feel like this isn't a real world scenario - so closing |
@OfstadC hi, just to clarify, you can reproduce this issue just by opening a new thread while offline (without deleting any message) and then go online which I think a real scenario that could happen commonly. It also sometimes happen without going offline at all, but it's just easier to repro while offline. |
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.56-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: N/A
Email or phone of affected tester (no customers): [email protected]
Issue reported by: Applause - Internal Team
Issue found when executing PR #51422
Action Performed:
Expected Result:
Nothing happens
Actual Result:
Hmmm not here page is displayed
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6651361_1730393923738.Screen_Recording_20241031_195233_Chrome.mp4
View all open jobs on GitHub
The text was updated successfully, but these errors were encountered: