Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[PAID][Regression in PR][$250] BUG: Able to check Select all checkbox of the manage members page when there is only me (workspace owner) on the list reported by @adeel0202 #12066

Closed
kavimuru opened this issue Oct 21, 2022 · 42 comments
Assignees
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Bug Something is broken. Auto assigns a BugZero manager. Engineering External Added to denote the issue can be worked on by a contributor Reviewing Has a PR in review Weekly KSv2

Comments

@kavimuru
Copy link

If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!


Action Performed:

  1. Go to Settings
  2. Go to Profile
  3. Delete profile pic if already exist
  4. Click on avatar
  5. Click on Upload photo
  6. Choose a high resolution photo
  7. Click Save
  8. Go to any workspace
  9. Click Manage members
  10. Remove other members if exist by selecting all and then clicking on remove button
  11. Click on Select all checkbox

Expected Result:

Not able to check Select all checkbox when there is only me on the list

Actual Result:

Able to check Select all checkbox when there is only me on the list

Workaround:

unknown

Platform:

Where is this issue occurring?

  • Web
  • iOS
  • Android
  • Desktop App
  • Mobile Web

Version Number: 1.2.18-4
Reproducible in staging?: y
Reproducible in production?: y
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos:

Screen.Recording.2022-10-21.at.9.46.11.PM.mov
Recording.760.mp4

Expensify/Expensify Issue URL:
Issue reported by: @adeel0202
Slack conversation: https://expensify.slack.com/archives/C01GTK53T8Q/p1666371501103159

View all open jobs on GitHub

@kavimuru kavimuru added Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. AutoAssignerTriage Auto assign issues for triage to an available triage team member labels Oct 21, 2022
@melvin-bot
Copy link

melvin-bot bot commented Oct 21, 2022

Triggered auto assignment to @mallenexpensify (AutoAssignerTriage), see https://stackoverflow.com/c/expensify/questions/4749 for more details.

@melvin-bot melvin-bot bot removed the AutoAssignerTriage Auto assign issues for triage to an available triage team member label Oct 21, 2022
@mallenexpensify
Copy link
Contributor

@adeel0202 @kavimuru , you shouldn't be able to remove the admin of a workspace, right? So that box wouldn't/shouldn't be checked since it's not actionable... right?

2022-10-21_16-32-48.mp4

@kavimuru
Copy link
Author

@mallenexpensify Yes, shouldn't be able to select the admin to delete. But it allows to remove and then error message appears. This is only reproducible by following the same steps in the actions performed. Please change the profile image of size 3mb.

@melvin-bot melvin-bot bot added the Overdue label Oct 24, 2022
@mallenexpensify
Copy link
Contributor

Unable to reproduce on staging/Chrome with my test account. used a 4mb and 5mb test image. Works as expected.

2022-10-24_07-48-50.mp4

Tried other setups too - added two people then tried to select all, still no luck.

Anything else I might be missing? @kavimuru @adeel0202 are you both still able to repro?

@melvin-bot melvin-bot bot removed the Overdue label Oct 24, 2022
@kavimuru
Copy link
Author

kavimuru commented Oct 24, 2022

@mallenexpensify I'm still able to reproduce. My profile image size is 3.8mb. Also you should remove the member right after adding profile picture.

Recording.778.mp4

@adeel0202
Copy link
Contributor

I'm also still able to reproduce.

Also you should remove the member right after adding profile picture.

yup, you have to perform all the steps in a go and as quickly as possible.
upload a high res photo > go to any workspace > manage members page > select all > remove all selected members > select all

@mallenexpensify
Copy link
Contributor

mallenexpensify commented Oct 24, 2022

Still not able to, tried multiple test accounts too, on staging and production, in chrome and firefox.
Gonna dish to Engineering to see if they can, since both of you have been able to

@melvin-bot
Copy link

melvin-bot bot commented Oct 24, 2022

Triggered auto assignment to @srikarparsi (Engineering), see https://stackoverflow.com/c/expensify/questions/4319 for more details.

@melvin-bot melvin-bot bot added the Overdue label Oct 27, 2022
@mallenexpensify
Copy link
Contributor

@srikarparsi , can you see if you're able to reproduce this bug, please?

@melvin-bot melvin-bot bot removed the Overdue label Oct 27, 2022
@srikarparsi
Copy link
Contributor

srikarparsi commented Oct 28, 2022

checking now, sorry was caught up with some other issues

@srikarparsi
Copy link
Contributor

hey, I'm also not able to reproduce. This was on staging and nothing of relevance came up in the console either. Anything else I could try to reproduce @kavimuru @adeel0202 ?

Screen.Recording.2022-10-27.at.9.10.26.PM.mov

@adeel0202
Copy link
Contributor

@srikarparsi can you please try with a slower internet connection? I'm not sure but maybe you and @mallenexpensify are not able to reproduce because probably you guys have relatively faster internet connections.

Also, can you guys please try to reproduce this one as well?

@srikarparsi
Copy link
Contributor

good idea @adeel0202, just tried it with slow connection and I'm able to reproduce the issue.

Screen.Recording.2022-10-28.at.4.45.53.PM.mov

Will try reproducing the other one now.

@srikarparsi
Copy link
Contributor

I'm able to reproduce the second issue as well (manage members screen displaying an error after uploading high res profile picture with slow internet connection). I agree that the two issues are probably related. I'm a little busy with some other issues so will mark it external to get it looked at quicker.

Screen.Recording.2022-10-28.at.4.57.23.PM.mov

@srikarparsi srikarparsi added the External Added to denote the issue can be worked on by a contributor label Oct 28, 2022
@melvin-bot
Copy link

melvin-bot bot commented Oct 28, 2022

Current assignee @mallenexpensify is eligible for the External assigner, not assigning anyone new.

@melvin-bot
Copy link

melvin-bot bot commented Oct 28, 2022

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

@melvin-bot melvin-bot bot added the Help Wanted Apply this label when an issue is open to proposals by contributors label Oct 28, 2022
@mallenexpensify mallenexpensify removed their assignment Nov 9, 2022
@mallenexpensify mallenexpensify added the Bug Something is broken. Auto assigns a BugZero manager. label Nov 9, 2022
@melvin-bot
Copy link

melvin-bot bot commented Nov 9, 2022

Triggered auto assignment to @laurenreidexpensify (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.

@melvin-bot melvin-bot bot added Daily KSv2 and removed Weekly KSv2 labels Nov 9, 2022
@mallenexpensify
Copy link
Contributor

Reassigning as I'm heading OOO for a month

@laurenreidexpensify laurenreidexpensify added the Reviewing Has a PR in review label Nov 9, 2022
@melvin-bot
Copy link

melvin-bot bot commented Nov 10, 2022

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:

  • @laurenreidexpensify A regression test has been added or updated so that the same bug will not reach production again. Link to the GH issue for creating the test here:
  • @sobitneupane @srikarparsi The PR that introduced the bug has been identified. Link to the PR:
  • @laurenreidexpensify 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:
  • @laurenreidexpensify A discussion in #contributor-plus 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:
  • @laurenreidexpensify Payment has been made to the issue reporter (if applicable)
  • @laurenreidexpensify Payment has been made to the contributor that fixed the issue (if applicable)
  • @laurenreidexpensify Payment has been made to the contributor+ that helped on the issue (if applicable)

@melvin-bot melvin-bot bot added Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Daily KSv2 labels Nov 15, 2022
@melvin-bot melvin-bot bot changed the title [$250] BUG: Able to check Select all checkbox of the manage members page when there is only me (workspace owner) on the list reported by @adeel0202 [HOLD for payment 2022-11-22] [$250] BUG: Able to check Select all checkbox of the manage members page when there is only me (workspace owner) on the list reported by @adeel0202 Nov 15, 2022
@melvin-bot
Copy link

melvin-bot bot commented Nov 15, 2022

The solution for this issue has been 🚀 deployed to production 🚀 in version 1.2.27-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 2022-11-22. 🎊

@laurenreidexpensify
Copy link
Contributor

laurenreidexpensify commented Nov 16, 2022

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

  • [@srikarparsi @sobitneupane] The PR that introduced the bug has been identified. Link to the PR:
  • [@srikarparsi @sobitneupane] 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:
  • [@srikarparsi @sobitneupane] 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:
  • [@laurenreidexpensify] A regression test has been added or updated so that the same bug will not reach production again. Link to the GH issue for creating the test here:
  • [@laurenreidexpensify] Applicable payments have been made. This potentially includes the issue reporter, the contributor that fixed the issue, and/or the contributor+ that helped on the issue.

@parasharrajat
Copy link
Member

There is a regression from this issue's PR #12770 .

@laurenreidexpensify laurenreidexpensify changed the title [HOLD for payment 2022-11-22] [$250] BUG: Able to check Select all checkbox of the manage members page when there is only me (workspace owner) on the list reported by @adeel0202 [Regression in PR][HOLD for payment 2022-11-22] [$250] BUG: Able to check Select all checkbox of the manage members page when there is only me (workspace owner) on the list reported by @adeel0202 Nov 18, 2022
@melvin-bot melvin-bot bot added Daily KSv2 and removed Weekly KSv2 labels Nov 22, 2022
@laurenreidexpensify laurenreidexpensify added Weekly KSv2 and removed Daily KSv2 labels Nov 23, 2022
@laurenreidexpensify
Copy link
Contributor

@sobitneupane @srikarparsi can you confirm the status of the regression hold on this? Thanks

@sobitneupane
Copy link
Contributor

sobitneupane commented Dec 1, 2022

@laurenreidexpensify

PR was deployed to production 3 days back.
Issue for regression: #12770

@laurenreidexpensify
Copy link
Contributor

Looks like we're at 7 days on the regression being on prod with no further regression reported. Going to proceed to payment here now.

@laurenreidexpensify laurenreidexpensify changed the title [Regression in PR][HOLD for payment 2022-11-22] [$250] BUG: Able to check Select all checkbox of the manage members page when there is only me (workspace owner) on the list reported by @adeel0202 [PAID][Regression in PR][$250] BUG: Able to check Select all checkbox of the manage members page when there is only me (workspace owner) on the list reported by @adeel0202 Dec 5, 2022
@laurenreidexpensify
Copy link
Contributor

All payments have been issued in Upwork.

@srikarparsi @sobitneupane can you please add any relevant links here

@laurenreidexpensify
Copy link
Contributor

Confirming Regression testing here

@srikarparsi
Copy link
Contributor

hey @sobitneupane, do you have the bandwidth to work on the first three steps: #12066 (comment)

@sobitneupane
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Bug Something is broken. Auto assigns a BugZero manager. Engineering External Added to denote the issue can be worked on by a contributor Reviewing Has a PR in review Weekly KSv2
Projects
None yet
Development

No branches or pull requests

9 participants