Problem
When a saved-for-later odometer expense is reopened and the start reading is edited from the confirmation page, navigating back to the Odometer tab still shows the old start reading value in the input instead of the edited one.
Steps to reproduce:
- Add a start reading and end reading in the Odometer request
- Tap Save for later
- Reopen the odometer request
- Go to the confirmation page
- Click on the distance and edit the start reading
- Save
- From the confirmation page, tap the back button
- On the Odometer request page, the old start reading value is displayed in the input
Expected: The Odometer tab should display the edited start reading value, matching what's shown on the confirmation page.
Context: Regression from Odometer save-for-later PR #87726. The ODOMETER_DRAFT Onyx draft is not being updated when readings are edited via the confirmation page's distance edit flow, so the draft hydrates the input with stale data on return.
Repro video: https://github.com/user-attachments/assets/e20a9f15-eb02-42de-8151-c03bc8c46b6f
Originally reported in PR #87726 comment.
Issue Owner
Current Issue Owner: @DylanDylann
Problem
When a saved-for-later odometer expense is reopened and the start reading is edited from the confirmation page, navigating back to the Odometer tab still shows the old start reading value in the input instead of the edited one.
Steps to reproduce:
Expected: The Odometer tab should display the edited start reading value, matching what's shown on the confirmation page.
Context: Regression from Odometer save-for-later PR #87726. The
ODOMETER_DRAFTOnyx draft is not being updated when readings are edited via the confirmation page's distance edit flow, so the draft hydrates the input with stale data on return.Repro video: https://github.com/user-attachments/assets/e20a9f15-eb02-42de-8151-c03bc8c46b6f
Originally reported in PR #87726 comment.
Issue Owner
Current Issue Owner: @DylanDylann