-
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-14] [$250] [P2P Distance] App crashes after selecting rate that has no Tax rate & Tax reclaimable on #49556
Comments
Triggered auto assignment to @OfstadC ( |
We think that this bug might be related to #wave-collect - Release 1 |
@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 |
ProposalPlease re-state the problem that we are trying to solve in this issue.Distance - App crashes after selecting rate that has no Tax rate & Tax reclaimable on What is the root cause of that problem?We are not adding optional chaining before Line 3477 in 513e6b3
What changes do you think we should make in order to solve the problem?Add optional chaining before value
What alternative solutions did you explore? (Optional) |
ProposalPlease re-state the problem that we are trying to solve in this issue.App crashes after selecting distance rate that has no Tax rate and Tax reclaimable on. What is the root cause of that problem?When track tax is enabled and we select the rate that has no tax rate, App/src/pages/iou/request/step/IOURequestStepDistanceRate.tsx Lines 95 to 107 in 513e6b3
Then here we passed it to Lines 3176 to 3180 in 513e6b3
Then the app crashes here because Lines 3475 to 3477 in 8383570
What changes do you think we should make in order to solve the problem?Safely get the value field here
Lines 3475 to 3477 in 8383570
And we can fallback taxRateExternalID as empty string
App/src/pages/iou/request/step/IOURequestStepDistanceRate.tsx Lines 95 to 107 in 513e6b3
or add a check here to not add
Lines 3176 to 3180 in 513e6b3
What alternative solutions did you explore? (Optional)NA |
Added to Wave Collect - will confirm before adding External |
Job added to Upwork: https://www.upwork.com/jobs/~021838672839174830384 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @aimane-chnaif ( |
@aimane-chnaif could you please review the proposal? Thank you 😃 |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
@nkdengineer's proposal looks good to me.
All proposed solutions work but I prefer 1. 🎀👀🎀 C+ reviewed (I didn't select first proposal because the root cause is not clear enough) |
Triggered auto assignment to @techievivek, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
📣 @nkdengineer 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.45-4 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-14. 🎊 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:
|
@aimane-chnaif Please complete the BZ checklist so I can issue payment on the 14th. Thank you! 😃 |
Regression Test Proposal
|
Thanks @aimane-chnaif ! Could you please accept this offer so I can issue payment? 😃 |
Payment Summary
|
Will close once @aimane-chnaif accepts Upwork offer 😃 |
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.39-0
Reproducible in staging?: Y
Reproducible in production?: Y
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 after selecting distance rate that has no Tax rate and Tax reclaimable on.
Crash happens when the rate has
Workaround:
Unknown
Platforms:
Screenshots/Videos
2009_1.txt
Bug6610205_1726857577201.ScreenRecording_09-21-2024_02-34-46_1.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @aimane-chnaifThe text was updated successfully, but these errors were encountered: