-
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 2023-12-06] [$500] IOU-App crashes on tapping split bill created in #announce as split bill participant #31136
Comments
Job added to Upwork: https://www.upwork.com/jobs/~012ba842ed3953850f |
Triggered auto assignment to @Christinadobrzyn ( |
Bug0 Triage Checklist (Main S/O)
|
Triggered auto assignment to Contributor-plus team member for initial proposal review - @mananjadhav ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.Pressing the split bill IOU preview skeleton crash the app. What is the root cause of that problem?When the split bill preview shows a skeleton, it means that the transaction data is not available on the Onyx yet. When we press it, it will navigate us to the split bill details page. In split bill details page, the App/src/pages/iou/SplitBillDetailsPage.js Line 40 in 732aad9
But because it's not available, we get App/src/pages/iou/SplitBillDetailsPage.js Line 103 in 732aad9
App/src/pages/iou/SplitBillDetailsPage.js Lines 136 to 137 in 732aad9
App/src/pages/iou/SplitBillDetailsPage.js Line 143 in 732aad9
App/src/libs/TransactionUtils.ts Lines 89 to 108 in 732aad9
Line 1602 in 8bd4a7b
What changes do you think we should make in order to solve the problem?Use a null-safety to access the transaction data on every usage mentioned above, example:
What alternative solutions did you explore? (Optional)
if you can't reproduce it, try re-login. I think another issue here is that the transaction data is never loaded, but I think we should still fix the crash as this can happen when the data is loading |
ProposalPlease re-state the problem that we are trying to solve in this issue.App crashes on tapping split bill created What is the root cause of that problem?The root cause of this bug arises while the transaction object passed as why it becomes undefined is because the Onyx store doesn't have the transaction data and returns undefined. and you can see details in the below video. New.Expensify.-.Google.Chrome.2023-11-10.01-58-07.mp4What changes do you think we should make to solve the problem?
What alternative solutions did you explore? (Optional)prevent the clicking action itself with an appropriate hint when on the loading state or the transition becomes empty. |
ProposalPlease re-state the problem that we are trying to solve in this issue.
What is the root cause of that problem?
What changes do you think we should make in order to solve the problem?
<PressableWithFeedback
+ disabled={isEmpty(props.transaction) && props.isBillSplit}
+ if (isEmpty(props.transaction)) {
+ return <NotFoundPage />;
+ } What alternative solutions did you explore? (Optional)
|
Thanks for the proposals folks. I can see all of them have correct RCA. Essentially we need to fix property access on transaction. Hence, I am going ahead with @bernhardoj's proposal. 🎀 👀 🎀 C+ reviewed. |
Triggered auto assignment to @grgia, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
📣 @mananjadhav Please request via NewDot manual requests for the Reviewer role ($500) |
📣 @bernhardoj 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
I'll open the PR tomorrow. |
PR is ready cc: @mananjadhav |
I'm going ooo until Monday Nov 27th so going to assign another BZ teammate to monitor this until I'm back. Thanks! Status- reviewing PR |
Triggered auto assignment to @bfitzexpensify ( |
This comment was marked as off-topic.
This comment was marked as off-topic.
@mananjadhav, @grgia, @bfitzexpensify, @bernhardoj, @Christinadobrzyn Whoops! This issue is 2 days overdue. Let's get this updated quick! |
I'm back from ooo so I'll take this back. Thanks Ben! Looks like we're reviewing this PR so I think this can be moved to weekly |
If you are the assigned CME please investigate whether the linked PR caused a regression and leave a comment with the results. If a regression has occurred and you are the assigned CM follow the instructions here. If this regression could have been avoided please consider also proposing a recommendation to the PR checklist so that we can avoid it in the future. |
Looks like this blocker is not a blocker but behaving as expected. It just might need design to review it. @mananjadhav @grgia @bernhardoj can you just confirm there's no regression with our PR as it relates to this GH and this GH? |
@Christinadobrzyn yes, there are no regressions. Both blocker issues had been closed. |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.4-3 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-06. 🎊 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:
|
prepping for payment Payouts due: Issue Reporter: NA Eligible for 50% #urgency bonus? NA Upwork job is here. @mananjadhav do we need a regression test for this? |
Yes because this resulted in the app crash I think it makes sense to add the regression test here. We can add the QA steps from the PR body for the regression test. I couldn't link any exact PR and it looks like this exists since a long time. |
Awesome! Made this regression test - https://github.com/Expensify/Expensify/issues/344480 There's no regression so paying this out based on this payment structure. Gonna close this out! |
$500 payment approved for @mananjadhav based on this comment. |
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: 1.3.97-1
Reproducible in staging?: Y
Reproducible in production?: Y
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:
Tapping on split bill skeleton in #announce room from Workspace member (ie.split bill participant) account, app must not crash.
Actual Result:
Tapping on split bill skeleton in #announce room from Workspace member (ie.split bill participant) account, app crashes.
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6270142_1699544635649.crask.mp4
Bug6270142_1699544234017!crash.txt
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: