-
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
[Due for payment 2025-02-25] [$250] Hybrid - Android - Expense - App crashes when submitting a distance track expense to a workspace. #56906
Comments
Triggered auto assignment to @srikarparsi ( |
Triggered auto assignment to @laurenreidexpensify ( |
💬 A slack conversation has been started in #expensify-open-source |
👋 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:
|
Production has another behavior screen-20250215-223708.mp4 |
ProposalPlease re-state the problem that we are trying to solve in this issue.The app crashes after creating a distance track expense and submitting it to a workspace using the "Share with my accountant" option. What is the root cause of that problem?When we submit a distance track expense to a workspace, the optimistic receipt has source is Line 4762 in d68deae
Line 4877 in d68deae
Then the app crashes when we try to get the file name here App/src/components/SelectionList/Search/TransactionListItemRow.tsx Lines 93 to 95 in d68deae
App/src/libs/fileDownload/FileUtils.ts Line 101 in d68deae
But why we can't reproduce this bug in production? It comes from #49539. After the navigation refactors, when we go to While in production, when we go to What changes do you think we should make in order to solve the problem?We should add a check here to not do this logic if the source isn't string type
App/src/components/SelectionList/Search/TransactionListItemRow.tsx Lines 93 to 95 in d68deae
What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?None What alternative solutions did you explore? (Optional)Reminder: Please use plain English, be brief and avoid jargon. Feel free to use images, charts or pseudo-code if necessary. Do not post large multi-line diffs or write walls of text. Do not create PRs unless you have been hired for this job. |
Job added to Upwork: https://www.upwork.com/jobs/~021891254669429387722 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @eh2077 ( |
@nkdengineer I agree with your RCA. But I have concerns about your solution. If
is a number (static images), how should we handle the source? We can't pass number to App/src/components/SelectionList/Search/TransactionListItemRow.tsx Lines 110 to 111 in d68deae
right? |
@eh2077 This will not be a problem, the |
@nkdengineer 's proposal looks good to me! 🎀👀🎀 C+ reviewed |
Current assignee @srikarparsi is eligible for the choreEngineerContributorManagement assigner, not assigning anyone new. |
📣 @nkdengineer 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
Fixed in staging $250 to @nkdengineer $125 to @eh2077 |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.99-2 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 2025-02-25. 🎊 For reference, here are some details about the assignees on this issue:
|
@eh2077 @laurenreidexpensify @eh2077 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:
Regression Test Proposal Template
Regression Test ProposalPrecondition:Test:Do we agree 👍 or 👎 |
@eh2077 please complete list above thanks |
Payment Summary: C+ $250 @eh2077, please request in ND |
@laurenreidexpensify 👋, my payment should be $125. I'll complete checklist by today. Thank you |
@laurenreidexpensify Based on this, I also should be paid here. |
BugZero Checklist:
Bug classificationSource of bug:
Where bug was reported:
Who reported the bug:
Regression Test ProposalPrecondition:
Test:
Do we agree 👍 or 👎 |
Updated Payment Summary:$250 Contributor @nkdengineer paid via Upwork |
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.98-7
Reproducible in staging?: Yes
Reproducible in production?: No
If this was caught on HybridApp, is this reproducible on New Expensify Standalone?: No, reproducible on hybrid only
If this was caught during regression testing, add the test name, ID and link from TestRail: #55459
Email or phone of affected tester (no customers): [email protected]
Issue reported by: Applause Internal Team
Device used: Motorola MotoG60 - Android 12
App Component: Money Requests
Action Performed:
Expected Result:
User should be able to submit a distance track expense to any workspace without any issue.
Actual Result:
The app crashes after creating a distance track expense and submitting it to a workspace using the "Share with my accountant" option.
Workaround:
Unknown
Platforms:
Screenshots/Videos
Bug6744333_1739650879233!log.txt
https://github.com/user-attachments/assets/0898e0a7-d15d-4f2f-ba2c-bbe088465fce
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @laurenreidexpensifyThe text was updated successfully, but these errors were encountered: