-
Notifications
You must be signed in to change notification settings - Fork 3.2k
[Payment 2024-12-20] [$250] Search - App crashes when clicking on search icon while app is loading #52633
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
Comments
Triggered auto assignment to @strepanier03 ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.Search - App crashes when clicking on search icon while app is loading What is the root cause of that problem?The
What changes do you think we should make in order to solve the problem?We should use
or we can use a backup empty object here like this App/src/pages/RoomMembersPage.tsx Line 59 in 09f6db7
What alternative solutions did you explore? (Optional) |
ProposalPlease re-state the problem that we are trying to solve in this issue.App crashes when clicking on search icon while app is loading What is the root cause of that problem?After we clear the cache,
Then the app crashes here when we open the search page App/src/components/Search/SearchRouter/SearchRouter.tsx Lines 126 to 129 in a54f913
But if the App/src/components/Search/SearchRouter/SearchRouter.tsx Lines 126 to 129 in a54f913
The problem from here, App/src/components/OnyxProvider.tsx Line 9 in a54f913
The return value of this hook is cast as App/src/components/createOnyxContext.tsx Line 36 in a54f913
App/src/components/createOnyxContext.tsx Line 90 in a54f913
What changes do you think we should make in order to solve the problem?To avoid the same case can happen in the feature, we can return the type here as App/src/components/createOnyxContext.tsx Line 36 in a54f913
and remove the cast type here App/src/components/createOnyxContext.tsx Line 90 in a54f913
After that, we can see all waring places via ts error or lint error that possible cause the app crashes when we use the value from the createOnyxContext hook and fix all places. or if the value here is App/src/components/createOnyxContext.tsx Line 90 in a54f913
What alternative solutions did you explore? (Optional) |
Job added to Upwork: https://www.upwork.com/jobs/~021858741837244395820 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @alitoshmatov ( |
@strepanier03, @alitoshmatov Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
@strepanier03, @alitoshmatov 6 days overdue. This is scarier than being forced to listen to Vogon poetry! |
@alitoshmatov Can you review the proposals? |
@FitseTLT Thank you for your proposal, Your RCA is correct and solution is solving the issue. |
@nkdengineer Thank you for detailed RCA, I think you are right we should fix typing here to prevent all similar cases from occurring. |
I think we can go with @nkdengineer 's proposal. Which addresses the root cause, and fixes the wrong typing which didn't not cover this edge case C+ reviewed 🎀 👀 🎀 |
Triggered auto assignment to @deetergp, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
@deetergp Please help to take a look when you have a chance. |
@deetergp @strepanier03 @alitoshmatov this issue was created 2 weeks ago. Are we close to approving a proposal? If not, what's blocking us from getting this issue assigned? Don't hesitate to create a thread in #expensify-open-source to align faster in real time. Thanks! |
📣 @nkdengineer 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
The PR is almost done, will open in a few hours. |
Issue not reproducible during KI retests. (First week) |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.75-6 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-20. 🎊 For reference, here are some details about the assignees on this issue:
|
@alitoshmatov @strepanier03 @alitoshmatov 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:
I think no regression is needed, it was one off scenario |
Payment Summary
|
I'll remove the hold from the payment summary tomorrow. |
@nkdengineer - I've paid and closed your contract in Upwork, thank you! @alitoshmatov - The payment summary is here and you're welcome to request payment, thank you as well. Have a lovely new year! |
$250 approved for @alitoshmatov |
Uh oh!
There was an error while loading. Please reload this page.
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.63-0
Reproducible in staging?: Y
Reproducible in production?: Y
Email or phone of affected tester (no customers): [email protected]
Issue reported by: Applause Internal Team
Action Performed:
Expected Result:
App will not crash.
Actual Result:
App crashes when clicking on search icon while app is loading.
Workaround:
Unknown
Platforms:
Screenshots/Videos
1511_1.txt
Bug6666535_1731688950569.20241116_003703.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @strepanier03The text was updated successfully, but these errors were encountered: