-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Distance - Distance and Rate fields become "pending" after returning from waypoint editor #60297
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
Comments
Triggered auto assignment to @srikarparsi ( |
💬 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:
|
This comment has been minimized.
This comment has been minimized.
🚨 Edited by proposal-police: This proposal was edited at 2025-04-15 18:07:00 UTC. ProposalPlease re-state the problem that we are trying to solve in this issue.Distance and Rate fields become "pending" after returning from waypoint editor What is the root cause of that problem?When we go back from the waypoint editor, we call Then the condition App/src/pages/iou/request/step/IOURequestStepConfirmation.tsx Lines 99 to 100 in 6ec8f3b
The The The App/src/components/MoneyRequestConfirmationList.tsx Lines 767 to 768 in 8433c46
App/src/components/MoneyRequestConfirmationList.tsx Lines 433 to 434 in 8433c46
Because we don't have the rate, all the other fields are all So the root cause is that we saved the incorrect What changes do you think we should make in order to solve the problem?We should update App/src/pages/iou/request/step/IOURequestStepDistance.tsx Lines 385 to 390 in a1ac576
function setMoneyRequestReportID(transactionID: string, reportID: string) {
Onyx.merge(`${ONYXKEYS.COLLECTION.TRANSACTION_DRAFT}${transactionID}`, {reportID});
} setCustomUnitRateID(transactionID, rateID);
setMoneyRequestReportID(transactionID, activePolicyExpenseChat?.reportID ?? '');
setMoneyRequestParticipantsFromReport(transactionID, activePolicyExpenseChat).then(() => { 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)
|
Looks like this was also caused by #58597 - @luacmartins @waterim could we add this to the list of follow ups? |
Hey @waterim, did you mean to comment on this PR? I see an email notification but don't see the comment here. |
@waterim Eep! 4 days overdue now. Issues have feelings too... |
@waterim 6 days overdue. This is scarier than being forced to listen to Vogon poetry! |
This is fixed in staging. |
Uh oh!
There was an error while loading. Please reload this page.
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.1.28-1
Reproducible in staging?: Y
Reproducible in production?: N
If this was caught on HybridApp, is this reproducible on New Expensify Standalone?: N
If this was caught during regression testing, add the test name, ID and link from TestRail: N/A
Email or phone of affected tester (no customers): [email protected]
Issue reported by: Applause - Internal Team
Action Performed:
Expected Result:
Amount, Distance and Rate fields will retain its original value
Actual Result:
Amount field becomes blank, Distance and Rate fields turn to "pending" after returning from waypoint editor
Workaround:
Unknown
Platforms:
Select the officially supported platforms where the issue was reproduced:
Platforms Tested:
On which of our officially supported platforms was this issue tested:Screenshots/Videos
Add any screenshot/video evidence
Bug6802818_1744731931682.ScreenRecording_04-15-2025_23-40-28_1.1.mp4
View all open jobs on GitHub
Issue Owner
Current Issue Owner: @waterimThe text was updated successfully, but these errors were encountered: