-
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
[HOLD for payment 2024-01-17] [HOLD for payment 2023-12-15] [$500] Bank account - Fields with emojis are not turned red and general error message is shown #31385
Comments
Job added to Upwork: https://www.upwork.com/jobs/~01087f0962c58f5f4a |
Triggered auto assignment to @garrettmknight ( |
Bug0 Triage Checklist (Main S/O)
|
Triggered auto assignment to Contributor-plus team member for initial proposal review - @parasharrajat ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.Bank account - Fields with emojis are not turned red and general error message is shown What is the root cause of that problem?We did not verify if the value contains emoji to show the error What changes do you think we should make in order to solve the problem?We should use
then add this check here and other places if needed Detail implementation: To validate companyName and addressCity:
To validate addressStreet, we already have function to
What alternative solutions did you explore? (Optional)Instead of just limiting emojis, we can restrict user input to only allow specific character ranges (we may use the same regex from BE side) |
We can use let's go with @tienifr's proposal. 🎀 👀 🎀 C+ reviewed |
Triggered auto assignment to @grgia, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
@tienifr Please update your proposal to contain more details on how will you update Addressfield etc. |
Some related issues which can be combined together: |
This issue is related to numeric inputs accepting various types of characters, such as letters or Unicode. |
@parasharrajat I added the detail implementation in my proposal #31385 (comment). Here's the result About the company address street we show the error |
There is nothing illegal about street addresses so that sounds fine to me. We can get this confirmed.
cc: @grgia |
Just passing some information in case it is useful: I noticed that this doesn't happen only with emojis, it also happens if you use Cyrillic letters. The address is "sanitized" by the backend and converted to ascii, but in a poor way, so |
@parasharrajat @tienifr Personally, I think we can leave the error messages as is for this |
@grgia Thanks for your comment. Do you agree with my solution? |
📣 @parasharrajat Please request via NewDot manual requests for the Reviewer role ($500) |
📣 @tienifr 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
Yep all yours @tienifr ! Thank you |
@tienifr Bump. |
I'm working on it, will raise the PR soon |
Any news @tienifr |
@garrettmknight, @parasharrajat, @grgia, @tienifr Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
Bump @tienifr |
I'm working on the draft PR. Will raise in the next hour. |
Fix PR is up: #33865. |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.23-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-01-17. 🎊 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:
|
For clarity, @tienifr has been paid already for this task. Previous summary #31385 (comment). |
Thanks for the reminder, request payment on the 17th! |
Summary of payments is above: #31385 (comment) @parasharrajat when you're ready, request payment! |
@garrettmknight Feel free to close it, I will request it later. |
Payment requested as per #31385 (comment) |
$500 approved for @parasharrajat based on this summary. |
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Issue found when executing PR: #31259
Version Number: 1.3.99-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:
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:
The fields with emojis are highlighted in red and the error message to enter valid info is displayed
Actual Result:
The general error message "Auth SetupWithdrawalAccount returned an error" is displayed, and the fields are not turned red.
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6277839_1700065315673.video_2023-11-15_10-41-07.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: