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-10-09] [$250] Expense - Error when member splits expense when report is partially approved #70806
Awaiting PaymentAuto-added when associated PR is deployed to productionBugSomething is broken. Auto assigns a BugZero manager.ExternalAdded to denote the issue can be worked on by a contributorWeeklyKSv2
What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?
Update ReportSecondaryActionUtils test to cover this case.
What alternative solutions did you explore? (Optional)
NA
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.
changed the title [-]Expense - Error when member splits expense when report is partially approved[/-][+][$250] Expense - Error when member splits expense when report is partially approved[/+]on Sep 23, 2025
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.2.21-4 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:
@parasharrajat@sonialiap 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: Not needed
[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.ExternalAdded to denote the issue can be worked on by a contributorWeeklyKSv2
Activity
melvin-bot commentedon Sep 18, 2025
Triggered auto assignment to @sonialiap (
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.nkdengineer commentedon Sep 19, 2025
Proposal
Please re-state the problem that we are trying to solve in this issue.
Split option is not hidden for member when the report is partially approved. When member splits the expense, error shows up.
What is the root cause of that problem?
After the report is forwarded, the backend returns the error that the transaction can't be edited
App/src/libs/ReportSecondaryActionUtils.ts
Line 126 in 111cfbf
What changes do you think we should make in order to solve the problem?
The admin/manger still can split expense, then we only need to hide this option for the submitter if the report is forwarded.
App/src/libs/ReportSecondaryActionUtils.ts
Line 126 in 111cfbf
We already checked the approved/closed/settled here, then we only need to check the case forwarded
App/src/libs/ReportSecondaryActionUtils.ts
Line 102 in 111cfbf
What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?
Update
ReportSecondaryActionUtilstest to cover this case.What alternative solutions did you explore? (Optional)
NA
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.
[-]Expense - Error when member splits expense when report is partially approved[/-][+][$250] Expense - Error when member splits expense when report is partially approved[/+]melvin-bot commentedon Sep 23, 2025
Job added to Upwork: https://www.upwork.com/jobs/~021970453109940958122
melvin-bot commentedon Sep 23, 2025
Triggered auto assignment to Contributor-plus team member for initial proposal review - @parasharrajat (
External)parasharrajat commentedon Sep 24, 2025
@nkdengineer's proposal looks good to me. Let's add a comment as well to explain this condition.
🎀 👀 🎀 C+ reviewed
19 remaining items
melvin-bot commentedon Oct 2, 2025
Reviewinglabel has been removed, please complete the "BugZero Checklist".melvin-bot commentedon Oct 2, 2025
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.2.21-4 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-10-09. 🎊
For reference, here are some details about the assignees on this issue:
melvin-bot commentedon Oct 2, 2025
@parasharrajat @sonialiap 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]
sonialiap commentedon Oct 13, 2025
Payment symmary:
@parasharrajat $250 please request in NewDot and complete the checklist
@nkdengineer $250 please request in NewDot
parasharrajat commentedon Oct 13, 2025
BugZero Checklist:
Bug classification
Source of bug:
Where bug was reported:
Who reported the bug:
[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/63092/files#r2426775070
[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: Not needed
[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/556970
Regression Test Proposal
Precondition:
User A - Admin
User B - Member
User C - Second approver (non-admin)
Test:
Do we agree 👍 or 👎
nkdengineer commentedon Oct 15, 2025
@sonialiap I will get paid via NewDot
parasharrajat commentedon Nov 9, 2025
Payment requested as per #70806 (comment)
trjExpensify commentedon Nov 17, 2025
approved $250 for @parasharrajat.
sonialiap commentedon Dec 15, 2025
@nkdengineer updated payment summary so that you're paid in ND
JmillsExpensify commentedon Dec 17, 2025
$250 approved for @nkdengineer