-
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-11-22] [$250] Search - Not here page appears when selecting a non-existing user and then going online #51651
Comments
Triggered auto assignment to @isabelastisser ( |
@isabelastisser 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 |
We think that this bug might be related to #wave-control |
Same RCA as #51473 |
Job added to Upwork: https://www.upwork.com/jobs/~021851703015510861438 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @mkhutornyi ( |
Heads up, I will be OOO from Oct 31 until Nov 4, so please re-apply the Bug label and assign a new member if needed. Thanks! |
I'll also be OOO soon so please reassign C+ |
ProposalPlease re-state the problem that we are trying to solve in this issue.Search - Not here page appears when selecting a non-existing user and then going online What is the root cause of that problem?It shows 404 page not found because we did not pass the emailList value when requesting to the OpenReport API after changing from offline to online App/src/pages/NewChatConfirmPage.tsx Lines 101 to 108 in 652d2ff
After this PR #51093 we will replace duplicated OpenReport requests if the request.command and the report id is equal meaning it will replace the previous request with the latest one(viewing the report chat) if the report id and the request command is same, which will remove the emailList value (selecting the non-existing user)App/src/libs/actions/Report.ts Lines 982 to 983 in 652d2ff
So when we select non-existing user on offline mode and then go to online mode, we check if there's any duplicated API requests it will replace the previous request since the request command and the report id is same which will remove the emailList value which causing 404 page not found What changes do you think we should make in order to solve the problem?We should also check if the previous request and the currentRequest if the API.paginate(CONST.API_REQUEST_TYPE.WRITE, WRITE_COMMANDS.OPEN_REPORT, parameters, {optimisticData, successData, failureData}, paginationConfig, {
checkAndFixConflictingRequest: (persistedRequests) =>
resolveDuplicationConflictAction(persistedRequests, (request) => request.command === WRITE_COMMANDS.OPEN_REPORT && request.data?.reportID === reportID && request.data?.emailList === parameters.emailList),
}); We can check also for other param like ResultScreen.Recording.2024-10-30.at.18.41.15.movWhat alternative solutions did you explore? (Optional) |
@isabelastisser I can take this issue as C+ |
📣 @dukenv0307 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
Triggered auto assignment to @lakchote, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
@lakchote Can you please take a look at this issue when you have a chance? Thanks |
@NJ-2020's proposal LGTM. |
📣 @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 |
@lakchote, @isabelastisser, @NJ-2020, @dukenv0307 Whoops! This issue is 2 days overdue. Let's get this updated quick! |
PR ready cc: @dukenv0307 |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.62-4 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-22. 🎊 For reference, here are some details about the assignees on this issue:
|
@dukenv0307 @isabelastisser @dukenv0307 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: Payment made in Upwork to @NJ-2020 - contributor $250 @dukenv0307, payment pending in NewDot - $250 C+. |
BugZero Checklist:
Bug classificationSource of bug:
Where bug was reported:
Who reported the bug:
Regression Test ProposalTest:
Do we agree 👍 or 👎 |
Hey @isabelastisser I'll request payment via NewDot. |
All set! |
$250 approved for @dukenv0307 |
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.55-1
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/5140184
Email or phone of affected tester (no customers): applausetester+bm176@applause.expensifail.com
Issue reported by: Applause - Internal Team
Action Performed:
Expected Result:
Not here page should not appear, and the chat with the non-existing user should remain visible
Actual Result:
Not here page appears when going online, which contradicts the behavior when performing these steps while online
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6649175_1730198793234.1.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @isabelastisserThe text was updated successfully, but these errors were encountered: