Skip to content

[$500] Expense - With {report:submit:from:firstName} title, username change is not reflected directly #75008

Closed

Description

@mitarachim

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.55-3
Reproducible in staging?: Yes
Reproducible in production?: Yes
If this was caught during regression testing, add the test name, ID and link from BrowserStack: https://test-management.browserstack.com/projects/2219752/test-runs/TR-1951/folder/15397164/57243981/1010742221?sort=%2Bidentifier
Email or phone of affected tester (no customers): jsnoidjdosisjdios@gmail.com
Issue reported by: Applause Internal Team
Device used: Mac 15.5 / Chrome
App Component: Money Requests

Action Performed:

Precondition:

  • running SSetNameValuePair('useCustomReportNamesNewExpensify', 'true'); in the JavaScript console on OldDot
  • Rename Default report title to {report:submit:from:firstName} in workspace settings > Reports.
  • User has display name.
  1. Go to staging.new.expensify.com
  2. Go to workspace chat.
  3. Create an empty report via + > Create report.
  4. Go to Account > Profile > Display name.
  5. Change the first name and save it.
  6. Go back to the workspace chat.
    → Report name is not updated after changing display name.
  7. Add an expense to the empty report.
    → Report title is only updated after adding an expense to the report.

Expected Result:

In Step 6, Report name will be updated after changing display name.

Actual Result:

In Step 6, Report name is not updated after changing display name.
In Step 7, Report title is only updated after adding an expense to the report.

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

Bug7002032_1762976179306.5.mp4

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~021988817367586842939
  • Upwork Job ID: 1988817367586842939
  • Last Price Increase: 2025-12-28
Issue OwnerCurrent Issue Owner: @neil-marcellini

Activity

  1. added
    Daily
    Bug
    on Nov 13, 2025
  2. melvin-bot commented on Nov 13, 2025

    @melvin-bot

    Triggered auto assignment to @jliexpensify (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. added
    External
    on Nov 13, 2025
  4. changed the title [-]Expense - With {report:submit:from:firstName} title, username change is not reflected directly[/-] [+][$250] Expense - With {report:submit:from:firstName} title, username change is not reflected directly[/+] on Nov 13, 2025
  5. melvin-bot commented on Nov 13, 2025

    @melvin-bot
  6. added
    Help Wanted
    on Nov 13, 2025
  7. melvin-bot commented on Nov 13, 2025

    @melvin-bot

    Triggered auto assignment to Contributor-plus team member for initial proposal review - @rojiphil (External)

  8. jliexpensify commented on Nov 13, 2025

    @jliexpensify
    Contributor

    I'm unsure what this precondition is:

    running SSetNameValuePair('useCustomReportNamesNewExpensify', 'true'); in the JavaScript console on OldDot

    So will leave it up to @rojiphil to repro/review

  9. IjaazA commented on Nov 14, 2025

    @IjaazA
    Contributor

    @rojiphil can you able to reproduce this ?

  10. rojiphil commented on Nov 19, 2025

    @rojiphil
    Contributor

    This is very much reproducible by following the OP test steps.

    75008-reproduced.mp4
  11. melvin-bot commented on Nov 20, 2025

    @melvin-bot

    📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸

  12. 37 remaining items

  13. melvin-bot commented on Dec 28, 2025

    @melvin-bot

    📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸

  14. jliexpensify commented on Dec 28, 2025

    @jliexpensify
    Contributor
  15. neil-marcellini commented on Dec 30, 2025

    @neil-marcellini
    Contributor

    I'll do some testing on dev to see whether this is a problem with the backend or frontend and then I'll also see how it behaves with the OldDot system.

    The behavior currently on dev is very different from the original bug. The report shows the un-computed formula upon creation and it remains un-computed the entire time, even after submission. I should think the backend would fill it in with the submitter's name upon submission.

    I will create a new backend bug, unless we already have an issue covering this, and we should be able to get a backend external contributor to take it on.

    Dev:

    2025-12-29_17-52-05.mp4

    Staging:

    2025-12-29_18-14-41.mp4
  16. neil-marcellini commented on Dec 30, 2025

    @neil-marcellini
    Contributor

    Ah ok, I think this PR is going to fix this. I'll help review and get it merged.

    [Hold] CreateAppReport : Pass reportName only if not default

  17. jliexpensify commented on Dec 30, 2025

    @jliexpensify
    Contributor
  18. neil-marcellini commented on Dec 30, 2025

    @neil-marcellini
    Contributor

    PR merged

  19. neil-marcellini commented on Jan 1, 2026

    @neil-marcellini
    Contributor

    PR is on staging, retest requested.

  20. m-natarajan commented on Jan 2, 2026

    @m-natarajan

    Issue is reproducible on Windows 11 / Chrome, Xiaomi Poco F5 / Android 13 in v9.2.90-2

    75008_Repro.mp4
    bandicam.2026-01-02.08-58-43-205.mp4
  21. neil-marcellini commented on Jan 2, 2026

    @neil-marcellini
    Contributor

    I think we can close this out actually. We do not update report titles when user's change their display name, because that could potentially result in needing to update an extremely large amount of reports. The user level formulas {report:submit:... are considered to be snapshots of the data around the time of submission. I don't see anything in the code blocking the submit formula part from being updated after submission, but I think that's ok for the reasons below, and because titles won't update after approval.

    It is a little bit annoying that the report titles don't update live before submission, but that's how it has worked on OldDot for a long time, and it works well enough. Taking any action on the report like adding an expense or submitting it will recompute the report name.

  22. twisterdotcom commented on Jan 6, 2026

    @twisterdotcom
    Contributor

    How can both this:

    that could potentially result in needing to update an extremely large amount of reports

    And this:

    titles won't update after approval.

    be true?

    I feel like we should start updating report:submit formulae on draft reports; there can't be that many at one time.

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

Metadata

Metadata

Labels

BugExternalHelp WantedWeekly

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions