You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Version Number: 9.1.97-1 Reproducible in staging?: Y 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+ag1908.2@applause.expensifail.com Issue reported by: Applause - Internal Team
Edit the Default report title field with: Created {report:created} vs Started {report:startdate}
Save the new title
Create a new report via FAB
Add an expense with a date before the report was created
Expected Result:
After steps 6 and 7 the report name should be computed properly
Actual Result:
After step 6 the report name is set to the un-computed formula until the backend responds. After step 7, the name remains unchanged until the backend responds
Workaround:
Unknown
Platforms:
All
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 evidence2025-09-12_08-27-39.mp42025-09-12_08-30-46.mp4Backend implementation
string Report::getTransactionCreatedDate(SQLite& db, constint64_t reportID, constbool forMostRecentTransaction, const string& defaultDate)
{
// Get the most or least recent created date from the report transactions, excluding partial transactionsconst string transactionCreated = DB::read(db,
"SELECT COALESCE(modifiedCreated, created) AS transactionCreated ""FROM transactions ""WHERE reportID > 0 "" AND reportID = " + SQ(reportID) + """ AND (COALESCE(modifiedAmount, amount) != " + to_string(Transaction::PARTIAL_AMOUNT) + " OR COALESCE(NULLIF(modifiedMerchant, ''), merchant) != " + SQ(Transaction::PARTIAL_MERCHANT) + ") ""ORDER BY transactionCreated " + (forMostRecentTransaction ? "DESC" : "ASC") + """LIMIT 1;"
);
return transactionCreated.empty() ? defaultDate : transactionCreated;
}
/** * Get the created date of the most recent transaction on a report, otherwise the created date of the oldest transaction. * If the report has no transactions, return the default date.*/static string getTransactionCreatedDate(SQLite& db, constint64_t reportID, constbool forMostRecentTransaction, const string& defaultDate = SComposeTime("%Y-%m-%d", STimeNow()));
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-1
Reproducible in staging?: Y
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+ag1908.2@applause.expensifail.com
Issue reported by: Applause - Internal Team
Set up
Action Performed:
Log into new expensify
Go to workspace settings > Reports
Click Default report title
Edit the Default report title field with:
Created {report:created} vs Started {report:startdate}Save the new title
Create a new report via FAB
Add an expense with a date before the report was created
Expected Result:
After steps 6 and 7 the report name should be computed properly
Actual Result:
After step 6 the report name is set to the un-computed formula until the backend responds. After step 7, the name remains unchanged until the backend responds
Workaround:
Unknown
Platforms:
All
Platforms Tested:
On which of our officially supported platforms was this issue tested:Screenshots/Videos
Add any screenshot/video evidence
2025-09-12_08-27-39.mp4
2025-09-12_08-30-46.mp4
Backend implementation
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @Issue Owner
Current Issue Owner: @neil-marcellini