Skip to content

[Exploratory] 91756 - PR90772 - Track distance - Distance field leads to the map instead of odometer readings #91794

Closed

Description

@applause-bot

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: v9.3.83-0
Reproducible in staging?: Yes
Reproducible in production?: Yes
If this was caught during regression testing, add the test name, ID and link from BrowserStack: #90772
Email or phone of affected tester (no customers): agexptest+pr250526@gmail.com
Issue reported by: Applause Internal Team
Bug source: Exploratory - Significant User Experience Deterioration
Device used: Windows 11/ Chrome, Samsung S23FE/ Android 16, iPhone 13 Mini/ iOS 26.3
App Component: Money Requests

Action Performed:

Preconditions: Have one odometer expense and one map-distance expense in the same expense report.

  1. Go to staging.new.expensify.com
  2. Go to the workspace chat
  3. Go to the expense report
  4. Open the odometer expense
  5. Click on More > Merge
  6. Pick the map-distance expense
  7. Select the odometer expense's merchant
  8. In the Confirm details page, verify that the distance and the receipt are correct
  9. Go back to the Select details page and select the map-distance expense's merchant
  10. In the Confirm details page, verify that the distance and the receipt are correct
  11. Go back to the Select details page and select the odometer expense's merchant > Continue
  12. Click on Merge expenses
  13. Click on Distance
  14. Go back to the expense details
  15. Click on the receipt image

Expected Result:

After step 13, the original odometer readings are displayed.
After step 15, the merged image of the odometer expense is displayed.

Actual Result:

After step 13, the map of the map-distance expense is displayed.
After step 15, a combined receipt of the map‑distance expense and the odometer expense is displayed.

Workaround:

Unknown

Platforms:

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

Screenshots/Videos

Bug7163946_1779850616817.distance_field.mp4

View all open jobs on GitHub

Applause Internal Information
Exported by: Julia Ponikarchuk
Bug ID: 7163946

Issue OwnerCurrent Issue Owner: @jakubkalinski0

Activity

  1. applause-bot commented on May 27, 2026

    @applause-bot
    Author

    While Applause doesn't embed attachments for this bug, here are the links for quick view:
    https://platform.applause.com/services/links/v1/external/308c7e06cd0bbf443d7305442c16bb81f6f9227cfc83a7fd3b39cd1cb5ce4690

  2. jakubkalinski0 commented on Jun 1, 2026

    @jakubkalinski0
    Member

    I cannot reproduce this:

    output.mp4
  3. trjExpensify commented on Jun 1, 2026

    @trjExpensify
    Contributor

    @IuliiaHerets can we get a retest of this then, please?

  4. IuliiaHerets commented on Jun 1, 2026

    @IuliiaHerets

    @trjExpensify Repro on Windows 11/ Chrome in v9.3.90-3

    91794.mp4
  5. jakubkalinski0 commented on Jun 2, 2026

    @jakubkalinski0
    Member

    @IuliiaHerets I tried to reproduce this for more than an hour and am still unable to do it. Could you maybe provide me with your onyx state or any more info about this? I simply cannot repro this bug

  6. IuliiaHerets commented on Jun 9, 2026

    @IuliiaHerets

    @jakubkalinski0 here's the file, and sorry for the delay.

    onyx-state (2).txt

  7. jakubkalinski0 commented on Jun 10, 2026

    @jakubkalinski0
    Member

    @IuliiaHerets No problem 😅 Thanks for the help 🫶

  8. Julesssss commented on Jun 16, 2026

    @Julesssss
    Contributor

    Hi @IuliiaHerets, could you please export the data again after reproducing it, but first deselect the mask data checkbox? Thank you, that will help us to verify the cause.

    Image
  9. IuliiaHerets commented on Jun 17, 2026

    @IuliiaHerets

    @Julesssss Not repro in v9.4.9-0

    onyx-state (3).txt

    7163946.mp4
  10. Julesssss commented on Jun 18, 2026

    @Julesssss
    Contributor

    @IuliiaHerets thanks. Would you mind trying to reproduce again, it would be great to see onyx data from a valid reproduction.

    Also I'd like to keep investigating here for a moment. Here's a potential cause: On the backend here for a transaction to be classifier as an odometer request it must have odometer fields AND NO waypoint data. If it did have both it would fallback to distance-map... Which seems to match what was seen here.

    Here when merging transactions we copy the existing odometer values from targetTransaction.comment. That;s why both exist.

    For a solution, maybe we just need to clear anything related to distance/odometer/waypoints that is not-necessary when merging. Or update the backend logic, to modify that classifier condition, now that we know both can exist.

  11. IuliiaHerets commented on Jun 23, 2026

    @IuliiaHerets

    @Julesssss Not repro in v9.4.17-0.
    Mask off

    onyx-state_mask-off.txt

    repro.91794-3-mask-off.mp4

    Mask on

    onyx-state_mask-on.txt

    repro.91794-3-mask-on.mp4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions