-
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-05-02] Distance - Distance row shows "0.00 miles" instead of "Pending" after changing distance #40712
Comments
Triggered auto assignment to @amyevans ( |
👋 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:
|
We think that this bug might be related to #wave-collect - Release 1 |
ProposalPlease re-state the problem that we are trying to solve in this issue.Distance row shows "0.00 miles" instead of "Pending" after changing distance What is the root cause of that problem?The App/src/libs/DistanceRequestUtils.ts Lines 153 to 156 in b1d25e4
What changes do you think we should make in order to solve the problem?We can update the condition to handle the pending response logic like: + if (!hasRoute || !rate || !unit || distanceInMeters === 0) {
return translate('iou.routePending');
} What alternative solutions did you explore? (Optional)Resultbcc9a239-451e-47a8-b81f-82e894c2237c.mp4 |
@koko57 @neil-marcellini this might be related to this PR, can you please have a look? #38543 |
I can fix this in my next PR |
@koko57 are you able to expedite that Pr so it can be merged and CPed tomorrow? |
yes, of course - the draft is already ready (#40711), let me just add this fix |
Perfect, thanks! |
@neil-marcellini @mountiny changes pushed, test steps updated |
This got CPed, closing! |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.65-5 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-05-02. 🎊 For reference, here are some details about the assignees on this issue:
|
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: 1.4.64-0
Reproducible in staging?: y
Reproducible in production?: n
Issue reported by: Applause - Internal Team
Action Performed:
Expected Result:
Distance row will show "Pending" while the expense is being updated.
Actual Result:
Distance row shows "0.00 miles" while the expense is being updated.
Workaround:
n/a
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6457564_1713800763066.distance.mp4
View all open jobs on GitHub
The text was updated successfully, but these errors were encountered: