-
Notifications
You must be signed in to change notification settings - Fork 3k
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] Bank account - Able to save phone number starting from = not + via WS Bank account connection #34766
Comments
Job added to Upwork: https://www.upwork.com/jobs/~012299eb9b4898ac21 |
Triggered auto assignment to @sonialiap ( |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @mananjadhav ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.Bank account - Able to save phone number starting from = not + via WS Bank account connection What is the root cause of that problem?We are checking if it is valid US phone number here App/src/pages/ReimbursementAccount/CompanyStep.js Lines 107 to 108 in 599c005
But here App/src/libs/ValidationUtils.ts Lines 268 to 269 in 599c005
b/c we pass it regionCode parsePhoneNumber returns valid (possible as true) although it starts with # (it will return invalid if you pass the same string without region code ) can be considered a bug from parsePhoneNumber and hence it not indicating the error message
What changes do you think we should make in order to solve the problem?We should validate the number with
or We can move the validating code inside What alternative solutions did you explore? (Optional)the validation we can even implement it in our parsePhoneNumber |
ProposalPlease re-state the problem that we are trying to solve in this issue.Bank account - Able to save phone number starting from = not + via WS Bank account connection What is the root cause of that problem?I think the root cause is : App/src/pages/ReimbursementAccount/CompanyStep.js Lines 107 to 109 in 31b19ea
What changes do you think we should make in order to solve the problem?We can do to fix it is in something like this in
What alternative solutions did you explore? (Optional)Another solution would be in
|
Updated Proposal |
ProposalPlease re-state the problem that we are trying to solve in this issue.User is able to save phone number starting from = not + via WS Bank account connection What is the root cause of that problem?We validate phoneNumber using
In this function, App/src/libs/ValidationUtils.ts Lines 268 to 269 in 991a4e2
What changes do you think we should make in order to solve the problem?In
App/src/libs/ValidationUtils.ts Lines 268 to 269 in 991a4e2
*Note: I saw that we're using What alternative solutions did you explore? (Optional)We can create a util to check for valid phoneNumber and use it in all related places of the app to make the app consistent as well |
Triggered auto assignment to @AndrewGable, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
📣 @FitseTLT 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
Not overdue, a proposal was just accepted and contributor assigned |
PR was just raised few hours ago. Will review this PR today. |
@sonialiap This was deployed to production yesterday but the payout date wasn't updated. |
@sonialiap this should be ready for the payout today. I don't have any offending PR, we fixed this in the But I think it makes sense to add a regression test for this one. Here's the regression test steps:
|
Contributor: @FitseTLT paid $500 via Upwork TR GH - https://github.com/Expensify/Expensify/issues/369254 Thanks!! |
$500 approved for @mananjadhav based on summary above. |
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: 1.4.27-1
Reproducible in staging?: Y
Reproducible in production?: Y
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
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
Action Performed:
Expected Result:
User is able to save phone number starting from + via WS Bank account connection
Actual Result:
User is able to save phone number starting from = not + via WS Bank account connection
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6346953_1705607179949.Able_to_save_a_phone_number_starting_from.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: