Closed lanitochka17 closed 3 days ago
Triggered auto assignment to @garrettmknight (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.
@garrettmknight 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-22T10:00:00Z.
Approver becomes Hidden when error message to delete approver appears
When we delete the approver, we will get an error. And that error message is still saved in Onyx when we go to the workflow approver page
Then that approver will be filtered out here
includeMemberWithErrors = true
here const policyMemberEmailsToAccountIDs = PolicyUtils.getMemberAccountIDsForWorkspace(policy?.employeeList, true);
We need to build the function dismissError
like we did here and pass in props onDismissError
in here
<SelectionList
...
onSelectRow={setPolicyApprover}
shouldSingleExecuteRowSelect
showScrollIndicator
+ onDismissError={dismissError}
/>
We can consider the solution: we can hide the remove button when the user deletes the approver, only show the warning and not call API
Job added to Upwork: https://www.upwork.com/jobs/~012277cda3e4453431
Triggered auto assignment to Contributor-plus team member for initial proposal review - @c3024 (External
)
When removing the approver member, the confirmation modal states that the approver will be automatically replaced by the owner.
However, when we proceed to remove the member, the backend returns an error saying that the approver cannot be removed unless they are replaced by another member.
These two messages seem conflicting.
I believe we should correct the warning in the modal to clearly state that the approver cannot be removed
as @daledah suggested here:
We can consider the solution: hide the remove button when the user attempts to delete the approver, only show the warning, and avoid calling the API.
We should also implement the remaining solution of not filtering users with errors and adding the onDismiss function in @daledah's proposal to make the fix complete and fix #47731 also.
@daledah's proposal LGTM!
🎀 👀 🎀 C+ Reviewed
Triggered auto assignment to @arosiclair, see https://stackoverflow.com/c/expensify/questions/7972 for more details.
When removing the approver member, the confirmation modal states that the approver will be automatically replaced by the owner.
However, when we proceed to remove the member, the backend returns an error saying that the approver cannot be removed unless they are replaced by another member.
It sounds like this might not be fully implemented yet. Reaching out in #wave-collect
about it
This is related to https://github.com/Expensify/App/issues/43508.
Added this to the #wave-collect
and marking this Internal
for now since it likely requires backend changes to address the behavior described in the confirmation modal.
A couple more issues for push notifications and QBO errors landed on my plate so I don't think I have the bandwidth to look into this now. Re-assigning to @marcochavezf since we talked about it. Lemme know if you need anything from me
@garrettmknight, @marcochavezf, @c3024 Whoops! This issue is 2 days overdue. Let's get this updated quick!
@marcochavezf you're assigned - are you gonna take this one? If not, feel free to drop off.
I already have my plate full, dropping it off and assigning the Hot Pick
label
@garrettmknight this issue was created 2 weeks ago. Are we close to a solution? Let's make sure we're treating this as a top priority. Don't hesitate to create a thread in #expensify-open-source to align faster in real time. Thanks!
Awaiting a volunteer - changing to weekly
@garrettmknight Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!
Per this other issue, it looks like this bug was fixed!
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.22-0 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/4874319&group_by=cases:section_id&group_id=229065&group_order=asc Email or phone of affected tester (no customers): gocemate+a1018@gmail.com Issue reported by: Applause - Internal Team
Action Performed:
Preparation :
Steps:
Expected Result:
Display name and email address of Approver should be visible
Actual Result:
Approver becomes Hidden when error message to delete approver appears
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/58037c81-27ec-49ef-8f37-cb55c23c7fd7
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @c3024