Closed lanitochka17 closed 1 week ago
Triggered auto assignment to @abekkala (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.
@abekkala FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors
Edited by proposal-police: This proposal was edited at 2023-10-04T15:23:00Z.
The member removed in offline is included while creating split expense, but while leaving group, the member is not included and last member leaving warning modal is shown
When we set the participant for money request flow we don't filter out the member that is pending delete
We should filter out the pending delete member as we do in ReportDetailPage
here
const chatReportOtherParticipants = Object.keys(chatReport?.participants ?? {})
.flatMap((accountID) => {
const pendingMember = chatReport?.pendingChatMembers?.findLast((member) => member.accountID === accountID.toString());
return !pendingMember || pendingMember.pendingAction !== CONST.RED_BRICK_ROAD_PENDING_ACTION.DELETE ? accountID : [];
})
.map(Number)
.filter((accountID) => accountID !== currentUserAccountID);
Or we can use getParticipantsAccountIDsForDisplay
function with shouldExcludeDeleted
params as true
const chatReportOtherParticipants = ReportUtils.getParticipantsAccountIDsForDisplay(chatReport, false, true).filter((accountID) => accountID !== currentUserAccountID);
participants = chatReportOtherParticipants.map((accountID) => ({accountID, selected: true}));
@abekkala Eep! 4 days overdue now. Issues have feelings too...
@abekkala 6 days overdue. This is scarier than being forced to listen to Vogon poetry!
Attendee List is not based on added members.
Attendee List is not based on added members.
@abekkala Can you clarify this? Is this not a bug?
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: 9.0.26 Reproducible in staging?: Y Reproducible in production?: Y If this was caught during regression testing, add the test name, ID and link from TestRail: https://expensify.testrail.io/index.php?/tests/view/4901873 Issue reported by: Applause - Internal Team
Action Performed:
Expected Result:
If member removed in offline is included while creating split expense, then while leaving group also the member must be included and last member leaving warning modal must not be shown
Actual Result:
The member removed in offline is included while creating split expense, but while leaving group, the member is not included and last member leaving warning modal is shown
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
https://github.com/user-attachments/assets/4ffd3e57-02bd-4361-b2d2-ba71083e33cc
View all open jobs on GitHub