-
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-07-24] [$250] Workspace - Bank account personal info isn't accepting characters with umlaut as name #43929
Comments
Triggered auto assignment to @JmillsExpensify ( |
@JmillsExpensify FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors |
@JmillsExpensify Whoops! This issue is 2 days overdue. Let's get this updated quick! |
@JmillsExpensify 6 days overdue. This is scarier than being forced to listen to Vogon poetry! |
Job added to Upwork: https://www.upwork.com/jobs/~01000955591143b611 |
Opening up to community |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @suneox ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.Bank account personal info isn't accepting characters with umlaut as name. Please enter a valid name error appears. These characters are accepted in the Save the world - teacher and principal flows What is the root cause of that problem?We don't allow users to enter the accented characters in App/src/libs/ValidationUtils.ts Line 352 in 9862fdb
What changes do you think we should make in order to solve the problem?Remove the above condition What alternative solutions did you explore? (Optional)We can update the |
ProposalPlease re-state the problem that we are trying to solve in this issue.Bank account personal information doesn't accept umlaut characters. What is the root cause of that problem?We have a check in place which checks for This is the RCA. What changes do you think we should make in order to solve the problem?We should use so we need to update the following block of code: App/src/pages/ReimbursementAccount/PersonalInfo/substeps/FullName.tsx Lines 42 to 49 in 57e5d0e
At both the places above, we will use if (values.firstName && !ValidationUtils. isValidPersonName(values.firstName)) {
errors.firstName = translate('bankAccount.error.firstName');
}
if (values.lastName && !ValidationUtils. isValidPersonName(values.lastName)) {
errors.lastName = translate('bankAccount.error.lastName');
} What alternative solutions did you explore? (Optional) |
Thanks for @dominictb & @eucool proposals. The RCA is correct and I have some feedback: About @dominictb proposal to remove the condition check Data test:
About @eucool solution, it seems like can work if we only update for Bank account personal info screen
I don't think we need to update all of them will also raise regression with the data test above Next step: Waiting @dominictb & @eucool update there proposal |
@suneox what are the next steps here I proposed that we should use
Yes is agree I just mentioned it for the additional point, the changes in my solution are simple: App/src/pages/ReimbursementAccount/PersonalInfo/substeps/FullName.tsx Lines 42 to 49 in 57e5d0e
At both the places above, we will use if (values.firstName && !ValidationUtils. isValidPersonName(values.firstName)) {
errors.firstName = translate('bankAccount.error.firstName');
}
if (values.lastName && !ValidationUtils. isValidPersonName(values.lastName)) {
errors.lastName = translate('bankAccount.error.lastName');
} |
Updated proposalUpdated proposal to remove unwanted content and added some code |
Triggered auto assignment to @tgolen, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
📣 @suneox 🎉 An offer has been automatically sent to your Upwork account for the Reviewer role 🎉 Thanks for contributing to the Expensify app! |
📣 @eucool 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.7-8 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-07-24. 🎊 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:
|
|
All contributors paid via Upwork and checklist complete. Closing this one! |
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.85-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: N/A
Issue reported by: Applause - Internal Team
Action Performed:
Expected Result:
Characters with umlaut should be accepted
Actual Result:
Bank account personal info isn't accepting characters with umlaut as name. Please enter a valid name error appears. These characters are accepted in the Save the world - teacher and principal flows
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6517259_1718718248651.bandicam_2024-06-18_15-34-26-002.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @JmillsExpensifyThe text was updated successfully, but these errors were encountered: