Skip to content

[HOLD for regression test] [$1000] Fix optimistic data for distance requests #26518

Description

@hayata-suenaga

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


This issue is only present on the last main

This issue requires an immediate action. If you're posting a proposal, make sure you can open a PR within 6 hours of proposal approval

Action Performed:

  1. Go to a workspace chat
  2. Click "+" next to the text composer and click "Request money"
  3. Click "Distance request" tab
  4. Click "Start" and type any US address. Click any address suggestion.
  5. Click "Finish" and and type any US address. Click any address suggestion. Make sure that the address is not the same address from Step 4.
  6. Click "Next" and on the next page, click "Save"
  7. Check that the data displayed is not correct (the amount is $0 for the distance request, for example)

This is a bug reported in this PR. Refer to that comment for screenshots

Expected Result:

The optimistic data should be the same as the distance request being created

Actual Result:

The optimistic data it not correct

Workaround:

N/A

Platforms:

Which of our officially supported platforms is this issue occurring on?

  • Android / native
  • Android / Chrome
  • iOS / native
  • iOS / Safari
  • MacOS / Chrome / Safari
  • MacOS / Desktop

Version Number:
Reproducible in staging?:
Reproducible in production?:
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
Expensify/Expensify Issue URL:
Issue reported by:
Slack conversation:

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~016ef448c9c160220d
  • Upwork Job ID: 1697697328608083968
  • Last Price Increase: 2023-09-01
  • Automatic offers:
    • jeet-dhandha | Contributor | 26458547

Metadata

Metadata

Labels

Awaiting PaymentAuto-added when associated PR is deployed to productionBugSomething is broken. Auto assigns a BugZero manager.DailyKSv2ExternalAdded to denote the issue can be worked on by a contributor

Type

No type

Fields

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