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
{{ message }}
Repository navigation
Some random name displayed on the confirmation page when creating an expense #60388
Version Number: Reproducible in staging?: need reproduction Reproducible in production?: need reproduction If this was caught on HybridApp, is this reproducible on New Expensify Standalone?: If this was caught during regression testing, add the test name, ID and link from TestRail: Email or phone of affected tester (no customers): Logs:https://stackoverflow.com/c/expensify/questions/4856 Expensify/Expensify Issue URL: Issue reported by:@shawnborton Slack conversation (hyperlinked to channel name): expensify-bug
Action Performed:
go to a workspace
Click create expense
proceed to confirm details page
Expected Result:
Correct report name appears for report field
Actual Result:
Showing random name in the report field
Workaround:
unknown
Platforms:
Select the officially supported platforms where the issue was reproduced:
Android: Standalone
Android: HybridApp
Android: mWeb Chrome
iOS: Standalone
iOS: HybridApp
iOS: mWeb Safari
Windows: Chrome
MacOS: Chrome / Safari
MacOS: Desktop
Platforms Tested:
On which of our officially supported platforms was this issue tested:
I was able to reproduce this. Being fixed in #60857.
Steps to reproduce:
Prerequisite: an admin and an employee in the workspace
Prerequisite 2: Delayed submissions disabled for workspace
[Employee] Create a new report but don't submit it
[Employee] Rename the report to something easy to identify
[Admin] Start the flow to submit a manual expense
[Admin] On the last step, click the Show more button
[Admin] Verify that the report created and renamed by the employee in step 1-2 doesn't show up and instead you see the correct report name
The issue is that we were only filtering for outstanding reports on the same policy, so admins would have access to reports from other users. When creating or moving transactions to reports, admins should only be able to do so between reports belonging to the same user. So the fix is to filter the outstanding reports by policy AND report owner (when moving between existing reports) or currentUser when creating a new report
Activity
melvin-bot commentedon Apr 17, 2025
Triggered auto assignment to @adelekennedy (
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.MelvinBot commentedon Apr 17, 2025
This has been labelled "Needs Reproduction". Follow the steps here: https://stackoverflowteams.com/c/expensify/questions/16989
melvin-bot commentedon Apr 21, 2025
@waterim Whoops! This issue is 2 days overdue. Let's get this updated quick!
melvin-bot commentedon Apr 23, 2025
@waterim Huh... This is 4 days overdue. Who can take care of this?
luacmartins commentedon Apr 24, 2025
I was able to reproduce this. Being fixed in #60857.
Steps to reproduce:
Prerequisite: an admin and an employee in the workspace
Prerequisite 2: Delayed submissions disabled for workspace
The issue is that we were only filtering for outstanding reports on the same policy, so admins would have access to reports from other users. When creating or moving transactions to reports, admins should only be able to do so between reports belonging to the same user. So the fix is to filter the outstanding reports by policy AND report owner (when moving between existing reports) or currentUser when creating a new report
mvtglobally commentedon Apr 26, 2025
Issue not reproducible during KI retests. (First week)
luacmartins commentedon Apr 26, 2025
I left a comment above on the reproducible steps. I also have a PR to fix this
luacmartins commentedon Apr 29, 2025
Fixed in staging. Closing.