-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
[$500] Workspace - Invite members to workspace error but user can still join the workspace #25592
Comments
Triggered auto assignment to @laurenreidexpensify ( |
Bug0 Triage Checklist (Main S/O)
|
Job added to Upwork: https://www.upwork.com/jobs/~017361e55ce3e1ac2d |
Current assignee @laurenreidexpensify is eligible for the External assigner, not assigning anyone new. |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @s77rt ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.Invited members to a workspace shows an error but the user can still access the workspace. What is the root cause of that problem?The issue title is misleading, the cause of the problem is not that the user is not added. The user is added successfully but the malformed phone number is the cause of the error. Error message: "The provided phone number does not match the country you are currently located at, please use your email address instead." This part assumes that the request failed completely for all users. App/src/libs/actions/Policy.js Lines 394 to 399 in 0f68829
What changes do you think we should make in order to solve the problem?You should filter out users and only show error message for users that were failed to add, not to all. |
📣 @WaqasIbrahim! 📣
|
Contributor details |
✅ Contributor details stored successfully. Thank you for contributing to Expensify! |
@WaqasIbrahim Thanks for the proposal. Indeed the other user seem to "partly" get access to the workspace. I don't see them in the members list but according to the OP video they can access restricted rooms. This should be handled internally. |
@laurenreidexpensify This seems internal. Can you please apple the label? |
@s77rt You are welcome. Just a suggestion, UX wise this should be handled the same way internally. I (as a user) should not have to reselect the members and add to workspace if last request failed because of one invalid member. |
Current assignee @s77rt is eligible for the Internal assigner, not assigning anyone new. |
Triggered auto assignment to @bondydaa ( |
@bondydaa this one is internal, so adding engineering for extra eyes |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
still haven't gotten back to this yes, will do so by EOW |
@bondydaa, @s77rt, @laurenreidexpensify Eep! 4 days overdue now. Issues have feelings too... |
sorry jumped into our recent fires so didn't get to this again last week |
Issue not reproducible during KI retests. (Third week) 1715968984182.bandicam_2024-05-17_20-00-26-282.mp4 |
@mvtglobally It's still reproducible via these steps |
@bondydaa, @s77rt, @laurenreidexpensify Huh... This is 4 days overdue. Who can take care of this? |
We have an internal issue here https://github.com/Expensify/Expensify/issues/386300 to refactor the AddMembersToWorkspace API which should address some of the bigger backend headaches still lingering in this. but I finally looked at @tienifr 's proposal and lets do it as well to get this working for now with how the API functions. as we do more 1:1:1 refactors we can continue to improve. |
📣 @s77rt 🎉 An offer has been automatically sent to your Upwork account for the Reviewer role 🎉 Thanks for contributing to the Expensify app! |
📣 @tienifr 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
Issue not reproducible during KI retests. (Fourth week) |
@tienifr Thanks for the PR. I just retested and noticed that the employees list is now keyed by email instead of account id. This gives us a potential easy solution. In |
@bondydaa A new solution came to light and also a new BE bug 😅 it should be easy to fix though, the |
@s77rt The second problem is the error to display. When we invite B and an invalid user (+252 3 234211), the
|
@tienifr That's a BE bug #25592 (comment) |
@bondydaa Any updates here? |
Still waiting for the response from @bondydaa |
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:
Expected Result:
When the invite user fails, B cannot access the workspace
Actual Result:
B can access the workspace during invite error
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: 1.3.55-7
Reproducible in staging?: Yes
Reproducible in production?: Yes
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
Screen.Recording.2023-08-09.at.21.28.40.mov
Gravar.2942.mp4
Expensify/Expensify Issue URL:
Issue reported by: @namhihi237
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1691655815906349
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @bondydaaThe text was updated successfully, but these errors were encountered: