-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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-07-10] [HOLD for payment 2024-07-02] [$250] Android - Review duplicate - App crashes when tapping "Keep all" on modified chat link #44213
Comments
Triggered auto assignment to @OfstadC ( |
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:
|
Triggered auto assignment to @neil-marcellini ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.App crashes when pressing What is the root cause of that problem?
and when they are mapped over here they are added as undefined in the mapped array hereApp/src/libs/actions/Transaction.ts Lines 294 to 295 in 425804a
and accessing reportID on undefined crashes the app.
What changes do you think we should make in order to solve the problem?Filter the App/src/libs/actions/Transaction.ts Line 295 in 425804a
to const currentTransactions = transactionIDs.map((id) => allTransactions?.[id]).filter((transaction) => transaction); What alternative solutions did you explore? (Optional) |
@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 |
We think that this bug might be related to #wave-collect - Release 2 |
ProposalPlease re-state the problem that we are trying to solve in this issue.App crash when choose Keep all in review duplicates page of a DM chat. What is the root cause of that problem?When we open a DM chat and manually append the link with
App/src/libs/actions/Transaction.ts Lines 294 to 295 in 0176052
What changes do you think we should make in order to solve the problem?I think we can show not found page (or any other view, like an empty view saying there is no transaction found) when there is no linked transaction of a report by wrapping the page with FullPageNotFoundView. If we still want to show the page, then we can include the transactionID to the array here only if it's not -1.
|
Job added to Upwork: https://www.upwork.com/jobs/~01e59eefc454d9599a |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @allroundexperts ( |
@allroundexperts can you please review the proposals for this blocker? |
Yep. I'll finalise in an hour or so. |
@c3024's proposal looks good to me. Since showing a not found page is something we can decide on while creating the PR, I would go with the first proposal with the correct RCA. C+ reviewed 🎀 👀 🎀 |
Current assignee @neil-marcellini is eligible for the choreEngineerContributorManagement assigner, not assigning anyone new. |
I'm going to go with @bernhardoj's proposal instead because it's the only one that fully solves the issue. Showing a not found page is the right approach. If we went with the other proposal it wouldn't solve the issue completely, so I think it's most fair to go with the next proposal. |
I'm going to fix this myself since it's a blocker and Bernhard isn't around right now. |
I think you can remove the blocker labels, this is under a beta. It's also such an edge case that unless you know the codebase and you know you can do it, no one should trigger it 😄 |
Either way, thank you so much for fixing it! |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.1-19 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-07-02. 🎊 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:
|
@allroundexperts Could you provide an update on this checklist by EOD? Thank you! |
Checklist
|
@allroundexperts Could you please mark off each item completed on the checklist 😃 ? Thanks so much! Payment Summary:Contributor: @bernhardoj paid $250 via Upwork |
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.3-7 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-07-10. 🎊 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:
|
This was already paid 🤔 - Asking about this here |
Already paid - closing |
$250 approved for @allroundexperts |
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.1-0
Reproducible in staging?: y
Reproducible in production?: no new feature
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
Expensify/Expensify Issue URL:
Issue reported by: Applause internal team
Slack conversation:
Action Performed:
)
Expected Result:
App will not crash.
Actual Result:
App crashes on Android and iOS app.
On web, it shows console error.
Workaround:
unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Bug6521589_1719068371303.Screen_Recording_20240622_225622_One_UI_Home.1.mp4
https://platform.utest.com/services/links/v1/internal/51927148?.log
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @OfstadCThe text was updated successfully, but these errors were encountered: