Repository navigation
Description
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.3.2-0
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-2966/folder/13176708/41236908/1125946493?sort=%2Bidentifier
Email or phone of affected tester (no customers): N/A
Issue reported by: Applause Internal Team
Bug source: Regression TC Execution
Device used: Windows 11/ Chrome
App Component: Workspace Settings
Action Performed:
Pre-requisite:
User has a control workspace with an employee
Control workspace has Rules enable in More features
Workspace has attendee tracking enabled in Rules
Steps:
- Sign in to staging.new.expensify.com with an account that fulfils the pre-requisite
- Navigate to workspace chat
- Create an expense with an attendee set in the expense preview
- Navigate to the expense created in step 3
- Click on "Attendee" field in the expense details
- Search for the employee user name (make sure to type the full name to search for the employee)
- Clear the search field
- Search for random characters (eg. x, y, z, ... anything that is not used as a username for an employee in the workspace)
Expected Result:
No results found is displayed
Actual Result:
an empty account with the searched character as a username is displayed even though the account is not a member of the workspace
Workaround:
Unknown
Platforms:
- Android: App
- Android: mWeb Chrome
- iOS: App
- iOS: mWeb Safari
- iOS: mWeb Chrome
- Windows: Chrome
- MacOS: Chrome / Safari
Screenshots/Videos
Bug7049495_1768432488135.bandicam_2026-01-15_01-55-26-149.mp4
Upwork Automation - Do Not Edit
- Upwork Job URL: https://www.upwork.com/jobs/~022011952979323507518
- Upwork Job ID: 2011952979323507518
- Last Price Increase: 2026-01-16
Activity
melvin-bot commentedon Jan 15, 2026
Triggered auto assignment to @mallenexpensify (
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.dmkt9 commentedon Jan 15, 2026
Proposal
Please re-state the problem that we are trying to solve in this issue.
an empty account with the searched character as a username is displayed even though the account is not a member of the workspace
What is the root cause of that problem?
We currently allow inviting users with
includeUserToInvite: truehere.App/src/pages/iou/request/MoneyRequestAttendeeSelector.tsx
Line 91 in fb1e667
At the same time, we do not filter out users who are not members of the policy.
App/src/pages/iou/request/MoneyRequestAttendeeSelector.tsx
Lines 132 to 137 in fb1e667
What changes do you think we should make in order to solve the problem?
Test branch
includeUserToInviteto false.App/src/pages/iou/request/MoneyRequestAttendeeSelector.tsx
Line 91 in fb1e667
App/src/pages/iou/request/MoneyRequestAttendeeSelector.tsx
Line 135 in fb1e667
App/src/pages/iou/request/MoneyRequestAttendeeSelector.tsx
Line 75 in fb1e667
App/src/libs/OptionsListUtils/index.ts
Line 2440 in fb1e667
App/src/libs/OptionsListUtils/index.ts
Line 2456 in fb1e667
What alternative solutions did you explore? (Optional)
N/A
nkdengineer commentedon Jan 15, 2026
It's expected here
[-]Rule - Empty user names are displayed when searched in attendee field in an expense detail[/-][+][$250] Rule - Empty user names are displayed when searched in attendee field in an expense detail[/+]melvin-bot commentedon Jan 16, 2026
Job added to Upwork: https://www.upwork.com/jobs/~022011952979323507518
melvin-bot commentedon Jan 16, 2026
Triggered auto assignment to Contributor-plus team member for initial proposal review - @jayeshmangwani (
External)brianlee-expensify commentedon Jan 16, 2026
@mallenexpensify seems like this is expected behavior (see comment)
@jayeshmangwani to confirm
melvin-bot commentedon Jan 21, 2026
@jayeshmangwani Huh... This is 4 days overdue. Who can take care of this?
jayeshmangwani commentedon Jan 22, 2026
Yes, It seems this is the expected behavior on this PR #79111.
@trjExpensify @lakchote , could you please confirm that this behavior (
an empty account with the searched character as a username is displayed even though the account is not a member of the workspace) is expected? If so, we can go ahead and close this issue.lakchote commentedon Jan 23, 2026
This is expected as we allow external attendees with names cc @trjExpensify
Closing the issue.