Skip to content

Expense - Report amount in the report title on the report preview reverts to 0.00 #68793

Closed

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.1.97-0
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 TestRail: #65862
Email or phone of affected tester (no customers): applausetester+140823kwh@applause.expensifail.com
Issue reported by: Applause Internal Team
Device used: Mac 15.5 / Chrome
App Component: Money Requests

Action Performed:

Precondition:

  • Log in with Expensifail account.
  1. Go to staging.new.expensify.com
  2. Create a workspace (default workspace).
  3. Go to workspace settings > Reports.
  4. Click Default report title.
  5. Change the title to {report:currency} {report:total}.
  6. Save the new title.
  7. Open FAB > Create report.
  8. Create an expense in the new report.
    → Report header title shows the correct amount.
  9. Go back to workspace chat.

Expected Result:

Report title on the report preview will show the correct amount.

Actual Result:

Report amount in the report title on the report preview reverts to 0.00.

Workaround:

Unknown

Platforms:

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

Screenshots/Videos

1.mp4

View all open jobs on GitHub

Issue OwnerCurrent Issue Owner: @jayeshmangwani

Activity

  1. added
    DeployBlockerCash
    Bug
    on Aug 19, 2025
  2. melvin-bot commented on Aug 19, 2025

    @melvin-bot

    Triggered auto assignment to @lydiabarclay (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details. Please add this bug to a GH project, as outlined in the SO.

  3. github-actions commented on Aug 19, 2025

    @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.
  4. melvin-bot commented on Aug 19, 2025

    @melvin-bot

    Triggered auto assignment to @techievivek (DeployBlockerCash), see https://stackoverflowteams.com/c/expensify/questions/9980/ for more details.

  5. melvin-bot commented on Aug 19, 2025

    @melvin-bot

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

  6. mitarachim commented on Aug 20, 2025

    @mitarachim

    QA team found similar issues about report title on the report preview reverts to 0.00 with steps below :

    1. Sign in to ND with expensifail account
    2. Create a workspace
    3. Open WS settings - Reports and change the report title to:
      {report:type} - {report:total} from {report:policyname} on {report:startdate}
    4. Save the formula
    5. Create new report via FAB
    6. When in the report, click "Add an expense", create $10 expense
    7. Verify title shows: Expense Report - USD$10 from [WorkspaceName] on [StartDate]
    8. Click on the "From" link in the header to navigate to the workspace chat
    9. Observe the report title on the preview
    Bug6921511_1755645319597._0.mp4

    Should we create new issue for this case ? or this is same root cause ?

  7. 34 remaining items

  8. removed their assignment
    on Sep 11, 2025
  9. added
    Hot Pick
    on Sep 11, 2025
  10. self-assigned this
    on Sep 12, 2025
  11. removed
    Hot Pick
    on Sep 12, 2025
  12. mjasikowski commented on Sep 12, 2025

    @mjasikowski
    Contributor

    I'll take this as an internal engineer.

  13. melvin-bot commented on Sep 15, 2025

    @melvin-bot

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

  14. mjasikowski commented on Sep 16, 2025

    @mjasikowski
    Contributor

    On it

  15. mjasikowski commented on Sep 16, 2025

    @mjasikowski
    Contributor

    For an account that is not in the Auth auto report beta it seems that when a report is created when custom title formula is enabled it doesn't actually set expensify_text_title, therefore PHP's updateFormulas() is not recalculating the title. Looking into this further.

  16. mjasikowski commented on Sep 16, 2025

    @mjasikowski
    Contributor
  17. jayeshmangwani commented on Sep 17, 2025

    @jayeshmangwani
    Contributor

    Internal PR #68793 (comment) raised

  18. mjasikowski commented on Sep 17, 2025

    @mjasikowski
    Contributor

    Following a conversation with @neil-marcellini, we've established that auto report title don't work well on NewDot and this is expected. You need to be a part of an opt-in beta to be able to properly test auto report titles and expensifail accounts are not a part of that beta by default (as opposed to other opt-out betas).

    With the beta enabled, the bug is not there:

    Image

    Therefore it seems it's not really a bug and the issue can be closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

BugDailyEngineeringInternal

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions