Skip to content

Distance - New rate is not reflected everywhere when split distance has a new rate #82120

Description

@jponikarchuk

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.17-0
Reproducible in staging?: Yes
Reproducible in production?: N/A - new feature, doesn't exist in prod
If this was caught during regression testing, add the test name, ID and link from BrowserStack: #79099
Email or phone of affected tester (no customers): sdsjndosjonjisd@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:

  • Workspace has at least two distance rates.
  1. Go to staging.new.expensify.com
  2. Go to workspace chat.
  3. Create a distance expense.
  4. Open the distance expense.
  5. Click More > Split.
  6. Click on any split row.
  7. Click Distance > change the distance > Save.
  8. Click Rate > select another rate > Save.
  9. On split overview page, change the amount of the edited split (from Step 6).
    → Distance changes according to the edited amount (expected). Rate reverts to the original rate.
  10. Click on the split row.
    → Distance and Rate field show different value than overview.
  11. Click RHP back button.
  12. Click Split.
    → Rate changes back to the selected rate.
  13. Click on the edited split.
  14. Click Amount.
    → Overview shows the old rate again.

Expected Result:

  • When editing the distance rate when splitting distance expense, Distance and Rate in split overview page should match the split details page.
  • The selected new rate should be reflected correctly.

Actual Result:

In Step 10, on split details page, Distance and Rate are different from the split overview page.
In Step 9, 12 and 14, the selected rate is not reflected everywhere. The old rate is seen in Step 9 and 14.

Workaround:

Unknown

Platforms:

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

Screenshots/Videos

1.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

Fields

No fields configured for issues without a type.

Projects

Status
Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions