Skip to content

Distance - Distance and Rate revert to old unit after reopening distance expense #82004

@nlemma

Description

@nlemma

If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!


Version Number: 9.3.16-4
Reproducible in staging?: Yes
Reproducible in production?: No
If this was caught during regression testing, add the test name, ID and link from BrowserStack: #81017
Email or phone of affected tester (no customers): sjdoinsjodjsosjosjoi@gmail.com
Issue reported by: Applause Internal Team
Bug source: Exploratory - Significant User Experience Deterioration
Device used: Mac 26.2 / Chrome
App Component: Money Requests

Action Performed:

Precondition:

  • Enable Distance rates in workspace settings.
  1. Go to staging.new.expensify.com
  2. Go to workspace chat.
  3. Create a manual distance expense.
  4. Go to workspace settings > Distance rates.
  5. Click Settings > Unit.
  6. Change it to another unit.
  7. Open the distance expense from Step 3.
  8. Click Distance.
  9. Without changing anything, click Save.
    → Distance and Rate are updated to the new unit. Amount does not update despite the distance rate is changed,
  10. Close the distance expense.
  11. Reopen the distance expense.
    → Distance and Rate revert to the previous unit.

Expected Result:

In Step 9, when Distance and Rate are updated to the new unit, Amount should also update.
In Step 11, when distance expense is opened, the new Distance and Rate unit will not change,

Actual Result:

In Step 9, when Distance and Rate are updated to the new unit, Amount does not update.
In Step 11, when distance expense is opened, the new Distance and Rate unit revert to previous unit.

Workaround:

Unknown

Platforms:

  • Android: App
  • Android: mWeb Chrome
  • iOS: App
  • iOS: mWeb Safari
  • iOS: mWeb Chrome
  • Windows: Chrome
  • MacOS: Chrome / Safari

Screenshots/Videos

Bug7073746_1770738017202.16.mp4

View all open jobs on GitHub

Metadata

Metadata

Labels

BugSomething is broken. Auto assigns a BugZero manager.EngineeringHourlyKSv2ReviewingHas a PR in review

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions