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
[Due for payment 2025-12-19] [$250] Expense - Selected attendee does not show up when searched with name #75796
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
Version Number: 9.2.62-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:#71849 Email or phone of affected tester (no customers):applausetester+181104kh@applause.expensifail.com Issue reported by: Applause Internal Team Device used: Mac 15.5 / Chrome App Component: Money Requests
Action Performed:
Precondition:
Attendee tracking is enabled in workspace settings > Rules.
Go to staging.new.expensify.com
Go to workspace chat.
Click + > Create expense > Manual.
Enter amount > Next.
On confirm page, click Attendee field.
Select any user that is already in your contact.
Type the name of the selected user.
Expected Result:
The selected attendee will appear when searched with name.
Actual Result:
The selected attendee does not appear when searched with name.
Please re-state the problem that we are trying to solve in this issue.
Expense - Selected attendee does not show up when searched with name
What is the root cause of that problem?
The MoneyRequestAttendeeSelector component using the attendees prop (which comes from the parent component) instead of the selectedOptions state from the useSearchSelector hook when calling formatSectionsFromSearchTerm. This caused the selected attendee filtering logic to work with stale data.
What alternative solutions did you explore? (Optional)
Reminder: Please use plain English, be brief and avoid jargon. Feel free to use images, charts or pseudo-code if necessary. Do not post large multi-line diffs or write walls of text. Do not create PRs unless you have been hired for this job.
The problem is, the attendee display name is not included as the search terms. It includes the display name from participantList which is only available for report data and from text for current user.
changed the title [-]Expense - Selected attendee does not show up when searched with name[/-][+][$250] Expense - Selected attendee does not show up when searched with name[/+]on Nov 26, 2025
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.2.77-1 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:
@jjcoffee / @bernhardoj@heyjennahay The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed. Please copy/paste the BugZero Checklist from here into a new comment on this GH and complete it. If you have the K2 extension, you can simply click: [this button]
[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: N/A
[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.
[BugZero Assignee] Create a GH issue for creating/updating the regression test once above steps have been agreed upon.
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
Activity
melvin-bot commentedon Nov 21, 2025
Triggered auto assignment to @heyjennahay (
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.samranahm commentedon Nov 21, 2025
Proposal
Please re-state the problem that we are trying to solve in this issue.
Expense - Selected attendee does not show up when searched with name
What is the root cause of that problem?
The
MoneyRequestAttendeeSelectorcomponent using the attendees prop (which comes from the parent component) instead of the selectedOptions state from theuseSearchSelectorhook when callingformatSectionsFromSearchTerm. This caused the selected attendee filtering logic to work with stale data.App/src/pages/iou/request/MoneyRequestAttendeeSelector.tsx
Lines 205 to 211 in baa4bac
What changes do you think we should make in order to solve the problem?
we should use
selectedOptionshere
App/src/pages/iou/request/MoneyRequestAttendeeSelector.tsx
Lines 205 to 211 in baa4bac
What alternative solutions did you explore? (Optional)
Reminder: Please use plain English, be brief and avoid jargon. Feel free to use images, charts or pseudo-code if necessary. Do not post large multi-line diffs or write walls of text. Do not create PRs unless you have been hired for this job.
bernhardoj commentedon Nov 24, 2025
Proposal
Please re-state the problem that we are trying to solve in this issue.
Selected attendees don't show when we search it.
What is the root cause of that problem?
The selected attendee will show if the search keyword matches the personal detail search terms.
App/src/libs/OptionsListUtils/index.ts
Lines 2418 to 2420 in 70a5eac
The problem is, the attendee display name is not included as the search terms. It includes the display name from
participantListwhich is only available for report data and fromtextfor current user.App/src/libs/OptionsListUtils/index.ts
Lines 2454 to 2464 in 70a5eac
What changes do you think we should make in order to solve the problem?
Update both
getPersonalDetailSearchTermsandgetCurrentUserSearchTermsto includeitem.displayNameas the search terms.Also, update the header message here to include selected options length for the first param (
hasSelectableOptions)[-]Expense - Selected attendee does not show up when searched with name[/-][+][$250] Expense - Selected attendee does not show up when searched with name[/+]melvin-bot commentedon Nov 26, 2025
Job added to Upwork: https://www.upwork.com/jobs/~021993806177656215981
melvin-bot commentedon Nov 26, 2025
Triggered auto assignment to Contributor-plus team member for initial proposal review - @jjcoffee (
External)17 remaining items
melvin-bot commentedon Dec 12, 2025
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.2.77-1 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:
If no regressions arise, payment will be issued on 2025-12-19. 🎊
For reference, here are some details about the assignees on this issue:
melvin-bot commentedon Dec 12, 2025
@jjcoffee / @bernhardoj @heyjennahay The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed. Please copy/paste the BugZero Checklist from here into a new comment on this GH and complete it. If you have the K2 extension, you can simply click: [this button]
jjcoffee commentedon Dec 19, 2025
BugZero Checklist:
[Contributor] The offending PR has been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake.
Link to comment: https://github.com/Expensify/App/pull/46409/files#r2634301587
[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: N/A
[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.
[BugZero Assignee] Create a GH issue for creating/updating the regression test once above steps have been agreed upon.
Link to issue: https://github.com/Expensify/Expensify/issues/581313
Regression Test Proposal
Precondition:
Test:
Do we agree 👍 or 👎
melvin-bot commentedon Dec 19, 2025
Payment Summary
Upwork Job
BugZero Checklist (@heyjennahay)
heyjennahay commentedon Dec 22, 2025
Payment summary:
Closed job https://www.upwork.com/ab/applicants/1993806177656215981/job-details
Thanks everyone for your work!
bernhardoj commentedon Dec 22, 2025
Requested in ND.
JmillsExpensify commentedon Dec 23, 2025
$250 approved for @jjcoffee
garrettmknight commentedon Dec 29, 2025
$250 approved for @bernhardoj