Skip to content

[Due for payment 2026-07-23] [$250] Start & End date does not matches Title format with Trip-based Auto-reporting #74268

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: v9.2.44-1
Reproducible in staging?: Yes
Reproducible in production?: Yes
If this was caught during regression testing, add the test name, ID and link from BrowserStack: #70615
Email or phone of affected tester (no customers): applausetester+ndk65@applause.expensifail.com
Issue reported by: Applause Internal Team
Device used: Windows 11 Home/Chrome
App Component: Workspace Settings

Action Performed:

Preconditions: Ensure you have the beta enabled in OldDot staging:

  • Sign in to staging.expensify.com/inbox
  • Open JS console and run: SSetNameValuePair('useCustomReportNamesNewExpensify', 'true');
  • Reload and verify: g_account.nameValuePairs.useCustomReportNamesNewExpensify; returns 'true'
    Open NewDot, navigate to Workspace
  • Set auto-reporting frequency to By trip;
  • Set report title to: Trip from {report:autoreporting:start:MMM dd} to {report:autoreporting:end:MMM dd, yyyy}
  1. Open https://staging.new.expensify.com/
  2. Create an expense with Date is 1 Nov, 2025 (not today)
  3. Create another expense with Date is today

Expected Result:

Start date matches the oldest expense date
End date matches the current date (or most recent expense)

Actual Result:

At step 2 and step 3, Start date and and end date do not matches with the format.

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

Bug6994533_1762317959153.Report_name_for_TRip_is_not_correct_as_formula.mp4

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~021993127171847398014
  • Upwork Job ID: 1993127171847398014
  • Last Price Increase: 2025-11-25
Issue OwnerCurrent Issue Owner: @TaduJR

Activity

  1. added
    BugSomething is broken. Auto assigns a BugZero manager.
    on Nov 5, 2025
  2. melvin-bot commented on Nov 5, 2025

    @melvin-bot

    Triggered auto assignment to @brianlee-expensify (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. mitarachim commented on Nov 5, 2025

    @mitarachim
    Author

    This issue is failing QA for Test case 5 in this PR #70615

  4. added
    ReviewingHas a PR in review
    and removed on Nov 7, 2025
  5. TaduJR commented on Nov 7, 2025

    @TaduJR
    Contributor
  6. TaduJR commented on Nov 8, 2025

    @TaduJR
    Contributor
  7. changed the title [-]Start & End date does not matches Title format with Trip-based Auto-reporting[/-] [+][$250] Start & End date does not matches Title format with Trip-based Auto-reporting[/+] on Nov 25, 2025
  8. melvin-bot commented on Nov 25, 2025

    @melvin-bot
  9. added
    Help WantedApply this label when an issue is open to proposals by contributors
    on Nov 25, 2025
  10. 140 remaining items

  11. melvin-bot commented on Jul 25, 2026

    @melvin-bot

    📣 @TaduJR You have been assigned to this job!
    Please apply to the Upwork job and leave a comment on the Github issue letting us know when we can expect a PR to be ready for review 🧑‍💻
    Once you apply to this job, your Upwork ID will be stored and you will be automatically hired for future jobs!
    Keep in mind: Code of Conduct | Contributing 📖

  12. mallenexpensify commented on Jul 27, 2026

    @mallenexpensify
    Contributor

    @TaduJR can you please accept the job below? Please reply here and tag me once you have.
    If you're not sent an offer in Upwork when you're assigned to an issue, please tag me. If an Upwork job exists, please submit a proposal.
    upwork.com/jobs/~022080816779921190514

    Assuming $125 cuz there's a regression mentioned above that wasn't addressed before payment was due.

    @mananjadhav plz complete the BZ checklist and tag me in a post once you have. Thx

  13. TaduJR commented on Jul 29, 2026

    @TaduJR
    Contributor

    @mallenexpensify

    Offer Accepted

    Thanks.

  14. mananjadhav commented on Jul 31, 2026

    @mananjadhav
    Collaborator

    BugZero Checklist:

    • [Contributor] The offending PR and associated issue have been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake.

      Link to the comment on the PR: Could say like a new feature. I don't see any explicit handling done any previous PR. Needed a change on the BE too.
      Link to the comment on the Issue:

    • [Contributor] If the regression was CRITICAL (e.g. interrupts a core flow) A discussion in #expensify-open-source has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner.

      Link to discussion: NA

    • [Contributor] If it was decided to create a regression test for the bug, please propose the regression test steps using the template below to ensure the same bug will not reach production again.

    I am not sure if any existing regression test exists, hence recommending one to add.

    Regression Test Proposal

    Precondition:

    Preconditions:

    • Enable custom report names beta in OldDot staging console: SSetNameValuePair('useCustomReportNamesNewExpensify', 'true')
    • Create a workspace with auto-reporting frequency set to By trip
    • Set the report title formula to: Trip from {report:autoreporting:start:MMM dd} to {report:autoreporting:end:MMM dd, yyyy}

    Test:

    Online:

    1. Create an expense with a past date (e.g., Jan 1)
    2. Create another expense with a different date (e.g., Jan 15)
    3. Verify the report title shows Trip from Jan 01 to Jan 15, 2025 (matching actual transaction dates)

    Offline (optimistic):
    4. Go offline (toggle airplane mode or disconnect network)
    5. Open an existing report that already has an expense dated Jan 1
    6. Create a new expense with date Jan 20
    7. Verify the report title immediately updates to Trip from Jan 01 to Jan 20, 2025 (not today's date)

    New report offline:
    8. While still offline, create a new expense in a new report with date Feb 10
    9. Verify the report title shows Trip from Feb 10 to Feb 10, 2025

    Scan expense regression check:
    10. Go to the workspace chat
    11. Create an empty report
    12. Open the newly created report
    13. Add a scan expense
    14. Verify the report title does not flash raw formula text like {report:startdate} while SmartScan is processing

    Do we agree 👍 or 👎

    Zapier Logs Run ID: 00040eee-2d61-ab26-0106-157bda7d4574
  15. mananjadhav commented on Jul 31, 2026

    @mananjadhav
    Collaborator

    @mallenexpensify I've checked and I feel we should add a regression test. I've updated the checklist.

    And can you correct the name in the payout summary here.

  16. melvin-bot commented on Aug 3, 2026

    @melvin-bot

    @TaduJR Huh... This is 4 days overdue. Who can take care of this?

  17. mallenexpensify commented on Aug 4, 2026

    @mallenexpensify
    Contributor

    @TaduJR can you please accept the job below? Please reply here and tag me once you have.

    @mananjadhav name updated above, apologies (GH sucks)
    ^ Test case created. Thx

    Image
  18. garrettmknight commented on Aug 4, 2026

    @garrettmknight
    Contributor

    $125 approved for @mananjadhav

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

Metadata

Metadata

Labels

Awaiting PaymentAuto-added when associated PR is deployed to productionBugSomething is broken. Auto assigns a BugZero manager.DailyKSv2ExternalAdded to denote the issue can be worked on by a contributor

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions