Skip to content

[Due for payment 2026-05-18] [Odometer] Edited start reading not reflected on Odometer tab after returning from confirmation page #89633

@Julesssss

Description

@Julesssss

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:

  1. Add a start reading and end reading in the Odometer request
  2. Tap Save for later
  3. Reopen the odometer request
  4. Go to the confirmation page
  5. Click on the distance and edit the start reading
  6. Save
  7. From the confirmation page, tap the back button
  8. 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 OwnerCurrent Issue Owner: @DylanDylann

Metadata

Metadata

Labels

Awaiting PaymentAuto-added when associated PR is deployed to productionDailyKSv2

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions