-
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-10-16] [$250] Dupe detect - App crashes when leaving Review duplicates page after viewing other expense #50111
Comments
Triggered auto assignment to @RachCHopkins ( |
@RachCHopkins 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 |
Edited by proposal-police: This proposal was edited at 2024-10-03 12:09:11 UTC. ProposalPlease re-state the problem that we are trying to solve in this issue.App crashes when leaving Review duplicates page after viewing other expense What is the root cause of that problem?Here we attached App/src/libs/Navigation/AppNavigator/AuthScreens.tsx Lines 113 to 119 in 2965b0b
and in App/src/libs/Navigation/AppNavigator/beforeRemoveReportOpenedFromSearchRHP/index.native.ts Lines 35 to 38 in 2965b0b
It's because App/src/libs/Navigation/AppNavigator/beforeRemoveReportOpenedFromSearchRHP/index.native.ts Line 25 in b52f1d4
What changes do you think we should make in order to solve the problem?A good solution will be that We added this code to solve this issue App/src/libs/Navigation/AppNavigator/beforeRemoveReportOpenedFromSearchRHP/index.native.ts Lines 25 to 33 in b52f1d4
But with the steps of this issue
Results Screen.Recording.2024-10-03.at.5.23.59.AM.movThread navigation is also working as expected Screen.Recording.2024-10-03.at.5.25.39.AM.movWhat alternative solutions did you explore? (Optional)We can create a variable
and then we can use it here
and then before going back we can set it to true and after goBack we can set it to false
Alternative 2 App/src/libs/Navigation/AppNavigator/beforeRemoveReportOpenedFromSearchRHP/index.native.ts Line 29 in e0133e5
|
I don't have this button in the TestFlight iOS app which is 41-2. I will just have to assume it's reproducible since we have a proposal already! |
Job added to Upwork: https://www.upwork.com/jobs/~021841675705747272356 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @jjcoffee ( |
@Nodebrute Thanks for the proposal! I'm wondering why
I'm also not sure I understand this. What error are we talking about that's causing the loop? |
@jjcoffee this is the main rca. We don't check if we are coming from search. This is what the navigation stack looks for opening thread from search And this is what that navigation stacks looks like with the steps of this issue. In both above cases this code block will be true cause we don't check if the screen below rightModalNavigator is search. App/src/libs/Navigation/AppNavigator/beforeRemoveReportOpenedFromSearchRHP/index.native.ts Lines 25 to 29 in e0133e5
We get this error Screen.Recording.2024-10-03.at.4.51.47.PM.movIt starts from |
@jjcoffee My solution is to check if below |
@jjcoffee Sorry, I just wanted to add one last thing. When we click review duplicates it is opened in RHP and then we click on the expense to open report, the navigation stack will be the almost same in Screen.Recording.2024-10-03.at.5.00.37.PM.mov |
@Nodebrute Thanks for clarifying! My only concern is how much we can rely on |
@jjcoffee We can depend on Screen.Recording.2024-10-03.at.5.17.29.PM.mov |
True! That makes sense, thanks for the clarifications. Happy to go with @Nodebrute's proposal here. 🎀👀🎀 C+ reviewed |
Triggered auto assignment to @mjasikowski, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
@mjasikowski friendly bump for assignment. |
@Nodebrute's proposal looks good, indeed, assigning |
📣 @jjcoffee 🎉 An offer has been automatically sent to your Upwork account for the Reviewer role 🎉 Thanks for contributing to the Expensify app! |
📣 @Nodebrute 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
Hey @jjcoffee, I've checked this proposal and it's fine :) |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.46-5 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-10-16. 🎊 For reference, here are some details about the assignees on this issue:
|
BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:
|
Payment Summary:
Upwork job here @jjcoffee can you do the checklist above, please? |
Contributors have been paid, the contracts have been completed, and the Upwork post has been closed. |
Regression Test Proposal
Do we agree 👍 or 👎 |
Thanks @jjcoffee, regression test requested! Closing. |
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.43-2
Reproducible in staging?: Y
Reproducible in production?: Y
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
Action Performed:
Expected Result:
App will not crash
Actual Result:
App crashes when leaving Review duplicates page after viewing one of the duplicates
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6622529_1727898403537.ScreenRecording_10-03-2024_03-42-47_1.mp4
logs (2).txt
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @RachCHopkinsThe text was updated successfully, but these errors were encountered: