Skip to content

[HOLD for payment 2024-07-22] [$250] [HOLD for payment 2024-07-17] [HOLD for payment 2024-07-10] Workspace - Inconsistent delete modal display and brief error when deleting a user #44631

Closed

Description

@lanitochka17

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.3-2
Reproducible in staging?: Y
Reproducible in production?: N
If this was caught during regression testing, add the test name, ID and link from TestRail: N/A
Email or phone of affected tester (no customers): shussain+chrome1@applausemail.com
Issue reported by: Applause - Internal Team

issue found when executing PR #44008

Action Performed:

Precondition:
Create Control workspace in OldDot, make sure you can see it in NewDot
In OldDot, make sure the Control workspace has "Advanced Approvals" set up (on the workspace settings -> Members tab)
In OldDot, Add at least 2 other members (non-admin)
In OldDot, Set up 1 of the members (Member A) as the submitsTo of the other member (Member B)

in NewDot

  1. Go to the control WS created above
  2. Open member page
  3. Select user A and click on remove
  4. Verify that the confirm modal appears with the warning prompt [Selected member] is an approver in this workspace. When you unshare this workspace with them, we'll replace them in the approval workflow with the workspace owner, [Workspace Owner].
  5. Open the member detail page of member A
  6. Click on Remove from workspace button
  7. Verify that the confirm modal appears with the same warning prompt in the step 4
  8. Click on remove
  9. Verify that the user is removed from the WS

Expected Result:

The delete modal should consistently display the same user identifier (either "Username" or "Email") on both the list member page and the detail page. No error should appear when deleting a user

Actual Result:

Inconsistent delete modal display and brief error when deleting a user

Workaround:

Unknown

Platforms:

Which of our officially supported platforms is this issue occurring on?

  • Android: Native
  • Android: mWeb Chrome
  • iOS: Native
  • iOS: mWeb Safari
  • MacOS: Chrome / Safari
  • MacOS: Desktop

Screenshots/Videos

Add any screenshot/video evidence

Bug6527483_1719585222590.2024-06-28_17-35-23.mp4
Bug6527483_1719585222605.2024-06-28_17-22-15.mp4

View all open jobs on GitHub

Issue OwnerCurrent Issue Owner: @greg-schroeder
Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~01be201c5b6d5fc51e
  • Upwork Job ID: 1811099866306463912
  • Last Price Increase: 2024-07-10

Activity

  1. added
    DeployBlockerCash
    DeployBlocker
    on Jun 28, 2024
  2. melvin-bot commented on Jun 28, 2024

    @melvin-bot

    Triggered auto assignment to @yuwenmemon (DeployBlockerCash), see https://stackoverflowteams.com/c/expensify/questions/9980/ for more details.

  3. github-actions commented on Jun 28, 2024

    @github-actions
    Contributor

    👋 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:

    1. Identify the pull request that introduced this issue and revert it.
    2. Find someone who can quickly fix the issue.
    3. Fix the issue yourself.
  4. added
    Reviewing
    Weekly
    and removed
    Hourly
    on Jun 29, 2024
  5. removed
    DeployBlocker
    on Jul 1, 2024
  6. Beamanator commented on Jul 1, 2024

    @Beamanator
    Contributor

    Not a web-e blocker, looks like this is caused by #44008

  7. Beamanator commented on Jul 1, 2024

    @Beamanator
    Contributor

    @nkdengineer it looks like your PR #44008 isn't working perfectly in a few conditions, can you please take a look at this?

  8. self-assigned this
    on Jul 1, 2024
  9. nkdengineer commented on Jul 1, 2024

    @nkdengineer
    Contributor

    It's fixed by @yuwenmemon

  10. 30 remaining items

  11. melvin-bot commented on Jul 10, 2024

    @melvin-bot

    Triggered auto assignment to Contributor-plus team member for initial proposal review - @hungvu193 (External)

  12. removed
    External
    on Jul 10, 2024
  13. greg-schroeder commented on Jul 10, 2024

    @greg-schroeder
    Contributor

    Sent you an offer @ikevin127

  14. ikevin127 commented on Jul 10, 2024

    @ikevin127
    Contributor

    @greg-schroeder Accepted, thank you!

  15. greg-schroeder commented on Jul 11, 2024

    @greg-schroeder
    Contributor

    Paid

  16. added
    Weekly
    and removed
    Daily
    on Jul 15, 2024
  17. changed the title [-][$250] [HOLD for payment 2024-07-17] [HOLD for payment 2024-07-10] Workspace - Inconsistent delete modal display and brief error when deleting a user[/-] [+][HOLD for payment 2024-07-22] [$250] [HOLD for payment 2024-07-17] [HOLD for payment 2024-07-10] Workspace - Inconsistent delete modal display and brief error when deleting a user[/+] on Jul 15, 2024
  18. removed
    Reviewing
    on Jul 15, 2024
  19. melvin-bot commented on Jul 15, 2024

    @melvin-bot

    Reviewing label has been removed, please complete the "BugZero Checklist".

  20. melvin-bot commented on Jul 15, 2024

    @melvin-bot

    The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.6-8 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 2024-07-22. 🎊

    For reference, here are some details about the assignees on this issue:

    • @hungvu193 requires payment through NewDot Manual Requests
  21. melvin-bot commented on Jul 15, 2024

    @melvin-bot

    BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:

    • [@hungvu193] The PR that introduced the bug has been identified. Link to the PR:
    • [@hungvu193] 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:
    • [@hungvu193] A discussion in #expensify-bugs 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:
    • [@hungvu193] Determine if we should create a regression test for this bug.
    • [@hungvu193] If we decide to create a regression test for the bug, please propose the regression test steps to ensure the same bug will not reach production again.
    • [@greg-schroeder] Link the GH issue for creating/updating the regression test once above steps have been agreed upon:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Awaiting PaymentBugEngineeringHelp WantedWeekly

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions