Skip to content

[$250] Distance Expense - "Total amount too large" validation not triggered #84273

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.31-2
Reproducible in staging?: Yes
Reproducible in production?: Yes
If this was caught during regression testing, add the test name, ID and link from BrowserStack: #83170
Email or phone of affected tester (no customers): applausetester+ap34@applause.expensifail.com
Issue reported by: Applause Internal Team
Bug source: Pull Request QA execution
Device used: Windows 11
App Component: Other

Action Performed:

  1. Open the app.
  2. Start creating a new distance expense.
  3. Select the Odometer tab.
  4. Enter start reading 0.
  5. Attempt to enter a very large end reading value (e.g., 999999999).
  6. Observe the behavior of the input field.
  7. Switch to the Manual distance tab.
  8. Enter an extremely large distance value (e.g., 9999999999).
  9. Observe the behavior.

Expected Result:

The system displays the error message:
"The total amount is too large. Reduce the distance or lower the rate."
when the entered values generate an amount exceeding the allowed limit.

Actual Result:

Odometer tab:
The input field restricts the value to 7 numeric characters, preventing users from entering values large enough to trigger the validation error described in the PR.
Manual distance tab:
The field allows entering very large values (up to 10 numeric characters), but the expected validation error message does not appear.
This behavior contradicts the validation described in the PR, where the client-side validation should prevent submitting values that exceed the backend amount limit.

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

Issue OwnerCurrent Issue Owner: @hoangzinh
Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~022029538405384111310
  • Upwork Job ID: 2029538405384111310
  • Last Price Increase: 2026-03-05

Metadata

Metadata

Labels

BugSomething is broken. Auto assigns a BugZero manager.DailyKSv2ExternalAdded to denote the issue can be worked on by a contributorHelp WantedApply this label when an issue is open to proposals by contributors

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