Skip to content

Spend - Total Spent changes to minus one on zero expense after changing currency #97584

Description

@applause-bot

If you haven’t already, check out our contributing guidelines for onboarding. To join our Slack channel, fill out this form.


Version Number: 9.4.47-3
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: #90777
Email or phone of affected tester (no customers): gatantm+675@gmail.com
Issue reported by: Applause Internal Team
Bug source: Exploratory - Significant User Experience Deterioration
Device used: MacOS 26.2, Safari
App Component: Search

Action Performed:

  1. Go to staging.new.expensify.com
  2. Navigate to Spend and the Expenses tab
  3. Select a 0 amount expense (create one if not already on the page)
  4. Click on the currency footer on bottom right
  5. Select any other currency and confirm

Expected Result:

The new Spent amount should be 0 on the new currency

Actual Result:

The new Spent amount is -1 on the new currency

Workaround:

Unknown

Platforms:

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

Screenshots/Videos

Bug7222745_1785505373829.Recording__1803.mp4

View all open jobs on GitHub

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

Issue OwnerCurrent Issue Owner: @c3024

Activity

  1. added
    DeployBlockerCashThis issue or pull request should block deployment
    BugSomething is broken. Auto assigns a BugZero manager.
    on Jul 31, 2026
  2. applause-bot commented on Jul 31, 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/1045901419eba9deb4aee577e40e144fc3c702ac8fe82372ea61bb37e6abd183

  3. melvin-bot commented on Jul 31, 2026

    @melvin-bot

    You have been assigned to this deploy blocker because you recently merged this PR: #90777

  4. melvin-bot commented on Jul 31, 2026

    @melvin-bot

    @mountiny @ahmedGaber93 you have been assigned to this deploy blocker because you reviewed the offending PR: #90777

  5. melvin-bot commented on Jul 31, 2026

    @melvin-bot

    @c3024 you have been assigned to this deploy blocker because you authored the offending PR: #90777

  6. melvin-bot commented on Jul 31, 2026

    @melvin-bot

    💬 A slack conversation has been started in #expensify-open-source

  7. github-actions commented on Jul 31, 2026

    @github-actions
    Contributor

    👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:

    1. Identify the pull request that introduced this issue and revert it.
    2. Find someone who can quickly fix the issue.
    3. Fix the issue yourself.
  8. c3024 commented on Jul 31, 2026

    @c3024
    Contributor

    This is a forex rate conversion issue for zero expenses and pre-existing. If the currency is changed through groupby: category and groupby: currency field it shows the same -1 when converted to another currency for a 0 expense. Moreover, converting a $0 expense to another currency is a practically a non-existent user case. I don't think this is a deploy blocker.

  9. 1 remaining item

  10. added and removed
    DeployBlockerCashThis issue or pull request should block deployment
    on Jul 31, 2026
  11. melvin-bot commented on Aug 3, 2026

    @melvin-bot

    @c3024 Whoops! This issue is 2 days overdue. Let's get this updated quick!

  12. c3024 commented on Aug 4, 2026

    @c3024
    Contributor

    Working on draft PR.

  13. melvin-bot commented on Aug 7, 2026

    @melvin-bot

    @c3024 Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!

  14. c3024 commented on Aug 8, 2026

    @c3024
    Contributor

    Auth PR merged!

  15. c3024 commented on Aug 11, 2026

    @c3024
    Contributor

    Auth PR deployed to production. Requested a retest.

  16. IuliiaHerets commented on Aug 11, 2026

    @IuliiaHerets

    Chrome / v9.4.52-2
    Not repro

    bandicam.2026-08-11.21-25-15-766.mp4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

BugSomething is broken. Auto assigns a BugZero manager.DailyKSv2Engineering

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions