-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
[HOLD for payment 2024-06-28] [HOLD for payment 2024-06-20][$250] Room-User is allowed to invite via mentions invalid number. #41078
Comments
Triggered auto assignment to @lschurr ( |
We think this issue might be related to the #vip-vsb. |
Job added to Upwork: https://www.upwork.com/jobs/~01cdf72ac69795bc85 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @hungvu193 ( |
@lschurr I want to discuss about the expected behavior here. In this case, when we sent an invalid phone number, the whisper message shouldn't be displayed or it's displayed but we can't click the |
I'm not 100% sure - Would you mind starting a Slack thread to discuss @hungvu193? |
I raised on slack: |
Current assignee @hungvu193 is eligible for the Internal assigner, not assigning anyone new. |
Asked in the Slack thread about best ways to move forward here. I think we need an Eng volunteer to assign this to. |
I'll pick this up, I think it'll be a quick fix. |
Notes for myself: Looks like we have a couple ways in Web for validating a phone number, though we should probably only have 1. We also have ways of validating it from the client; one way to validate it is via a command called Another funny thing is that we also seem to be making accounts for these invalid phone numbers. Like when you comment It seems like this will be easiest to fix in Web. But that may be problematic because I think these actionable mention whispers are made in Auth. We may need to port over our Will return to this tomorrow. |
Ugh, this is more complicated than expected. Twilio uses the E164 format as their standard for what is and isn't a valid phone number, but this standard actually doesn't have a minimum number of digits necessary for it to be valid. See https://www.twilio.com/docs/api/errors/21211. This means that I don't think we can actually say that these phone numbers are invalid. So, technically, I tested this by directing hitting Twilio's api using our own But we don't allow numbers like that to make accounts! If you type Funnily enough this package is actually based off a C++ package from Google called libphonenumber. So we could download that into our C++ layer and start using that, but this is getting a little ridiculous. |
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:
|
We don't need regression test for this one imo, this was how our markdown worked, we can treat this issue as a improvement. |
@hungvu193 The PR to bump Expensify-common in live-markdown here |
@hungvu193 The App PR is here. |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.82-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 2024-06-20. 🎊 For reference, here are some details about the assignees on this issue:
|
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:
|
If you are the assigned CME please investigate whether the linked PR caused a regression and leave a comment with the results. If a regression has occurred and you are the assigned CM follow the instructions here. If this regression could have been avoided please consider also proposing a recommendation to the PR checklist so that we can avoid it in the future. |
Payment summary:
|
Do we need to leave this open for the Deploy Blocker message? #41078 (comment) |
It's not a blocker from our PR here. Ref: #44085 (comment). |
Great! Closing this one out since it's paid. |
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.85-7 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-06-28. 🎊 For reference, here are some details about the assignees on this issue:
|
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:
|
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Version Number: 1.4.66-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/4513241
Logs: https://stackoverflow.com/c/expensify/questions/4856
Issue reported by: Applause-Internal team
Action Performed:
Expected Result:
User must not be allowed to invite via mentions invalid number.
Actual Result:
User is allowed to invite via mentions invalid number.
Tapping header -- members -- invite, user unable to invite +91 but via mentions can invite.
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Bug6462540_1714115844874.mev.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @Issue Owner
Current Issue Owner: @lschurrThe text was updated successfully, but these errors were encountered: