Skip to content

IOU - "Previously 0" system message is not displayed when change expense amount from 0 #76896

Description

@lanitochka17

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.2.73-0
Reproducible in staging?: Y
Reproducible in production?: N
If this was caught during regression testing, add the test name, ID and link from TestRail: #75542
Issue reported by: Applause - Internal Team

Action Performed:

  1. Sign in to ND with Expensifail account
  2. Create non-zero manual, scan and manual distance expenses in the workspace chat
  3. Change the amount for all three expenses to 0
  4. Change the amounts for all expenses to non-zero, observe the system messages

Expected Result:

System messages are shown as:
For distance expense: "changed the distance to 130.00 mi @ $0.70 / mi (previously 0.00 mi @ $0.70 / mi), which updated the amount to $91.00 (previously $0.00)
For manual and scan expenses: "changed the amount to $XX.00 (previously $0.00)"

Actual Result:

System messages are shown as:
For distance expense: "changed the distance to 130.00 mi @ $0.70 / mi (previously 0.00 mi @ $0.70 / mi), which updated the amount to $91.00 (previously )"
For manual and scan expenses: "set the amount to $XX.00"

Workaround:

Unknown

Platforms:

Select the officially supported platforms where the issue was reproduced:

  • Android: App
  • Android: mWeb Chrome
  • iOS: App
  • iOS: mWeb Safari
  • iOS: mWeb Chrome
  • Windows: Chrome
  • MacOS: Chrome / Safari
  • MacOS: Desktop
Platforms Tested: On which of our officially supported platforms was this issue tested:
  • Android: App
  • Android: mWeb Chrome
  • iOS: App
  • iOS: mWeb Safari
  • iOS: mWeb Chrome
  • Windows: Chrome
  • MacOS: Chrome / Safari
  • MacOS: Desktop

Screenshots/Videos

Add any screenshot/video evidence
Bug7021964_1764964828423.Previously_0.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

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions