-
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
[SMARTSCAN][$500] HIGH: Web - Scan - App crashed after tap on notification received from User B #28932
Comments
Triggered auto assignment to @bfitzexpensify ( |
Bug0 Triage Checklist (Main S/O)
|
@bfitzexpensify Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
Reproduced, sending this external. |
Job added to Upwork: https://www.upwork.com/jobs/~01c4ff17faecbce9f5 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @ArekChr ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.Web - Scan - App crashed after tap on notification received from User B (with modify request money notification). What is the root cause of that problem?While requesting money with scan from user A, and the scan is in progress, we won't send it to the user B while it's scanning. But we still send the notification while modifying the amount, merchant... When user B tap on modify notification, it will open an non-existence reportID within user B, which lead to the crash. App/src/libs/actions/Report.js Lines 1680 to 1681 in d916eff
What changes do you think we should make in order to solve the problem?I think we shouldn't send the notification for the reportId that didn't exist yet. So we need to add an extra check for our What alternative solutions did you explore? (Optional)N/A |
ProposalPlease re-state the problem that we are trying to solve in this issue.
What is the root cause of that problem?The root cause for app crashing in both 1 and 2 is because when we click on the notification, we navigate to the report screen here. But the The root cause for receiving notification even for Scanning money request is because we still send Onyx updates with What changes do you think we should make in order to solve the problem?
What alternative solutions did you explore? (Optional)NA |
Couple of proposals ready for review @ArekChr |
@tienifr As I understand, after fix, we will not send scan report notifications at all? |
@ArekChr it will still send scan report notifications to user B after the scan is complete (the Pusher will send then). The fix is only so that it doesn't send when the scan is in progress (the user B shouldn't be able to access the in-progress scan report, by design). |
Triggered auto assignment to @madmax330, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.11-25 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 2023-12-20. 🎊 After the hold period is over and BZ checklist items are completed, please complete any of the applicable payments for this issue, and check them off once done.
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:
|
@cristipaval, @ArekChr, @bfitzexpensify, @tienifr Whoops! This issue is 2 days overdue. Let's get this updated quick! |
Bump on the BZ checklist @ArekChr - thank you! |
Another bump here thanks @ArekChr |
@cristipaval, @ArekChr, @bfitzexpensify, @tienifr Still overdue 6 days?! Let's take care of this! |
@cristipaval, @ArekChr, @bfitzexpensify, @tienifr 8 days overdue is a lot. Should this be a Weekly issue? If so, feel free to change it! |
@cristipaval, @ArekChr, @bfitzexpensify, @tienifr 12 days overdue. Walking. Toward. The. Light... |
1 similar comment
@cristipaval, @ArekChr, @bfitzexpensify, @tienifr 12 days overdue. Walking. Toward. The. Light... |
This issue has not been updated in over 14 days. @cristipaval, @ArekChr, @bfitzexpensify, @tienifr eroding to Weekly issue. |
It seems that @ArekChr has been ooo. He'll take care of the checklist on Monday. |
@cristipaval, @ArekChr, @bfitzexpensify, @tienifr Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
Regression Test Proposal
Do we agree 👍 or 👎 |
Thanks @ArekChr. Regression steps proposed in https://github.com/Expensify/Expensify/issues/359435. We're all done here, closing this one out. |
Held on https://github.com/Expensify/Auth/pull/9115 and https://github.com/Expensify/Web-Expensify/pull/39523If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Action Performed:
Expected Result:
Chat conversation should be opened after click on notification
Actual Result:
App crashed after tap on notification received from User B
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: 1.3.78.0
Reproducible in staging?: Yes
Reproducible in production?: Yes
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
Bug6226100_1696521427022.Recording__4869.mp4
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @ArekChrThe text was updated successfully, but these errors were encountered: