-
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
[$250] [P2P Distance] Split - Incorrect amount & distance behavior when changing distance on confirm page offline #47048
Comments
Triggered auto assignment to @Julesssss ( |
Triggered auto assignment to @greg-schroeder ( |
We think that this bug might be related to #vip-split |
👋 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:
|
ProposalPlease re-state the problem that we are trying to solve in this issue.The distance, amount, and individual split share changes to a very big value. What is the root cause of that problem?From the expected result, the 1st (Amount field will be empty) and 2nd problem (Distance field will change to Pending) is the same root cause as #46952 and is currently being handled in #46964. For the 3rd problem (Split input will be 0.00), even after we fix the 1st and 2nd, the split amount still won't be 0 when the distance amount is 0 because we only update the individual split amount if the distance amount ( App/src/components/MoneyRequestConfirmationList.tsx Lines 345 to 348 in 9c7c4a1
What changes do you think we should make in order to solve the problem?If we want to update the individual split amount to 0 when the distance amount is 0, then we need to remove the App/src/components/MoneyRequestConfirmationList.tsx Lines 345 to 348 in 9c7c4a1
However, I notice that when we create the split distance while offline with the pending distance, the request will always fail and also, the participant is only the current user because we don't include participants with 0 split amount. Line 4053 in 9c7c4a1
App/src/pages/iou/request/step/IOURequestStepConfirmation.tsx Lines 342 to 352 in 9c7c4a1
Lines 4062 to 4066 in 9c7c4a1
I tried to always include the participant even when the amount is 0, but it still fails. Maybe we can disable the confirmation button if the distance amount is 0. |
Not treating this as a blocker. While annoying it should be rare and has an obvious workaround. |
Job added to Upwork: https://www.upwork.com/jobs/~016482e5c32e2edfad |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @fedirjh ( |
Issue not reproducible during KI retests. (Second week) |
@mvtglobally why do you say it's not reproducible? I just found that it was reproducible yesterday. Did it get fixed in a day? I doubt it. Would you please include a video of your test? |
Bump @mvtglobally on the above! |
Should get started on it today. |
@carlosmiceli, @greg-schroeder, @fedirjh Eep! 4 days overdue now. Issues have feelings too... |
Thanks for the update @carlosmiceli! |
@neil-marcellini How do I get location working? I already gave access. |
That's odd, might be a separate bug. Try reloading the page, signing out and back in, etc. If you still have trouble you can start looking into the MapView and how it's loaded, how the token is fetched. I just tried and found out that GetMapboxAccessToken is failing because we removed the token and haven't sent an action required email yet. I explained the solution here. |
@carlosmiceli, @greg-schroeder, @fedirjh Huh... This is 4 days overdue. Who can take care of this? |
Was OOO, will try to work on it this week after I deal with some backlog. |
Okay Thanks @carlosmiceli! |
Got carried away with wrapping homepage phase 2 issues, should be able to start this week 🙏 |
Closing as #vip-split is now closed/archived/paused - let me know if you disagree @carlosmiceli context: https://expensify.slack.com/archives/C05RECHFBEW/p1727723167802139 |
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: v9.0.18-1
Reproducible in staging?: Y
Reproducible in production?: N
Email or phone of affected tester (no customers): [email protected]
Issue reported by: Applause Internal Team
Action Performed:
Expected Result:
Actual Result:
Amount, Distance and split inputs change to a very big value.
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Bug6565228_1723089231018.20240808_114732.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @carlosmiceliThe text was updated successfully, but these errors were encountered: