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
Expense - Error after making changes to Attendees field as member after the expense is paid #61433
Version Number: 9.1.40-0 Reproducible in staging?: Yes Reproducible in production?: Unable to check If this was caught during regression testing, add the test name, ID and link from TestRail:#60067 Email or phone of affected tester (no customers):applausetester+smidod11sj@applause.expensifail.com Issue reported by: Applause Internal Team Device used: Mac 15.3 / Chrome App Component: Money Requests
Action Performed:
Precondition:
Admin and member are in the same workspace.
Go to staging.new.expensify.com
[Member] Go to workspace chat and submit an expense.
[Member] Click Submit on the expense preview.
[Admin] Go to workspace chat with member.
[Admin] Open the expense report.
[Admin] Click Approve and Pay elsewhere.
[Member] Go to the transaction thread of the paid expense.
[Member] Click Attendees field.
[Member] Add another attendee and save it.
Expected Result:
Attendee field should be disabled for member after the expense is paid.
Actual Result:
Attendee field is not disabled for member after the expense is paid. When editing the attendees field, app throws error.
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:
Identify the pull request that introduced this issue and revert it.
⚠️ Thanks for your proposal. Please update it to follow the proposal template, as proposals are only reviewed if they follow that format (note the mandatory sections).
Activity
melvin-bot commentedon May 6, 2025
Triggered auto assignment to @kadiealexander (
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.melvin-bot commentedon May 6, 2025
Triggered auto assignment to @mollfpr (
DeployBlockerCash), see https://stackoverflowteams.com/c/expensify/questions/9980/ for more details.github-actions commentedon May 6, 2025
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:
melvin-bot commentedon May 6, 2025
💬 A slack conversation has been started in #expensify-open-source
mollfpr commentedon May 6, 2025
Starting discussion on the Slack thread.
ijmalik commentedon May 6, 2025
🚨 Edited by proposal-police: This proposal was edited at 2025-05-06 08:16:16 UTC.
Proposal
Please re-state the problem that we are trying to solve in this issue.
Attendee field is not disabled for member after the expense is paid. When editing the attendees field, app throws error.
What is the root cause of that problem?
The issue was that shouldShowRightIcon and interactive values weren't properly passed to the
MenuItemWithTopDescriptioncomponent.App/src/components/ReportActionItem/MoneyRequestView.tsx
Line 762 in 0601503
App/src/components/ReportActionItem/MoneyRequestView.tsx
Line 777 in 0601503
What changes do you think we should make in order to solve the problem?
Replace
App/src/components/ReportActionItem/MoneyRequestView.tsx
Line 762 in 0601503
With
And replace
App/src/components/ReportActionItem/MoneyRequestView.tsx
Line 777 in 0601503
With
Same logic we used for category
App/src/components/ReportActionItem/MoneyRequestView.tsx
Lines 685 to 706 in 0601503
What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?
We should write a test to ensure that attendee field should be disabled for members once the expense is paid.
What alternative solutions did you explore? (Optional)
github-actions commentedon May 6, 2025
melvin-bot commentedon May 6, 2025
If you are the assigned CME please investigate whether the linked PR caused a regression and leave a comment with the results.
If a regression has occurred and you are the assigned CM follow the instructions here.
If this regression could have been avoided please consider also proposing a recommendation to the PR checklist so that we can avoid it in the future.