Skip to content

[HOLD for payment 2023-10-23][$500] Web - Account Settings - Inappropriate error message when add Legal name in non-English alphabet #28250

Closed

Description

@izarutskaya

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:

  1. Go to Settings > Profile > Personal details > Legal name
  2. Fill the Legal first name or Legal last name with non-English alphabet letters ( Cyrillic alphabet - Гоце Матески)

Expected Result:

Error message should be appropriate, for example - Please enter a name using Latin characters

Actual Result:

Inappropriate error message (Name can only include letters.) appears when User add Legal name in non-English alphabet

Workaround:

Unknown

Platforms:

Which of our officially supported platforms is this issue occurring on?

  • Android / native
  • Android / Chrome
  • iOS / native
  • iOS / Safari
  • MacOS / Chrome / Safari
  • MacOS / Desktop

Version Number: 1.3.74-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

Notes/Photos/Videos: Any additional supporting documentation

Bug6214634_20230926_023604.mp4

Expensify/Expensify Issue URL:

Issue reported by: Applause-Internal Team

Slack conversation: @

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~0173b61987caa93a3d
  • Upwork Job ID: 1706828987571515392
  • Last Price Increase: 2023-09-27
  • Automatic offers:
    • ntdiary | Reviewer | 27031539
    • hungvu193 | Contributor | 27031540

Activity

  1. added
    Daily
    Bug
    on Sep 26, 2023
  2. melvin-bot commented on Sep 26, 2023

    @melvin-bot

    Triggered auto assignment to @lschurr (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.

  3. melvin-bot commented on Sep 26, 2023

    @melvin-bot

    Bug0 Triage Checklist (Main S/O)

    • This "bug" occurs on a supported platform (ensure Platforms in OP are ✅)
    • This bug is not a duplicate report (check E/App issues and #expensify-bugs)
      • If it is, comment with a link to the original report, close the issue and add any novel details to the original issue instead
    • This bug is reproducible using the reproduction steps in the OP. S/O
      • If the reproduction steps are clear and you're unable to reproduce the bug, check with the reporter and QA first, then close the issue.
      • If the reproduction steps aren't clear and you determine the correct steps, please update the OP.
    • This issue is filled out as thoroughly and clearly as possible
      • Pay special attention to the title, results, platforms where the bug occurs, and if the bug happens on staging/production.
    • I have reviewed and subscribed to the linked Slack conversation to ensure Slack/Github stay in sync
  4. hungvu193 commented on Sep 26, 2023

    @hungvu193
    Contributor

    Proposal

    Please re-state the problem that we are trying to solve in this issue.

    Validation message showed "Name can only include letters" when user tried to update their name with Cyrillic alphabet characters.

    What is the root cause of that problem?

    We're currently validating our first name with alphabetic and latin character, in this case, we're using Cyrillic alphabet, which caused the issue.

    function isValidLegalName(name) {
    return CONST.REGEX.ALPHABETIC_AND_LATIN_CHARS.test(name);
    }

    What changes do you think we should make in order to solve the problem?

    We should change the error message to make it more meaning full:

    hasInvalidCharacter: 'Name can only include letters.',

    hasInvalidCharacter: 'El nombre sólo puede incluir letras.',

    "hasInvalidCharacter": `Name can only include alphabetic and latin letters.` // or: Name can only include alphabetic and latin characters.
    

    Also update the error message in Spanish as well

    What alternative solutions did you explore? (Optional)

    N/A

  5. added
    External
    on Sep 27, 2023
  6. changed the title [-]Web - Account Settings - Inappropriate error message when add Legal name in non-English alphabet[/-] [+][$500] Web - Account Settings - Inappropriate error message when add Legal name in non-English alphabet[/+] on Sep 27, 2023
  7. melvin-bot commented on Sep 27, 2023

    @melvin-bot
  8. added
    Help Wanted
    on Sep 27, 2023
  9. melvin-bot commented on Sep 27, 2023

    @melvin-bot

    Triggered auto assignment to Contributor-plus team member for initial proposal review - @ntdiary (External)

  10. lncramer commented on Sep 27, 2023

    @lncramer

    Hey there, ran into this issue on Upwork and would be happy to help out.

    I might need a bit of clarification on the expected result here. I am assuming that Гоце Матески should still be considered invalid, but that the error message just needs to be clearer.

    Proposal

    If the issue is simply that the error message needs to be updated, then I would update the English and Spanish string values for hasInvalidCharacter as appropriate. I would also add/update any related tests.

  11. melvin-bot commented on Sep 27, 2023

    @melvin-bot

    📣 @lncramer! 📣
    Hey, it seems we don’t have your contributor details yet! You'll only have to do this once, and this is how we'll hire you on Upwork.
    Please follow these steps:

    1. Make sure you've read and understood the contributing guidelines.
    2. Get the email address used to login to your Expensify account. If you don't already have an Expensify account, create one here. If you have multiple accounts (e.g. one for testing), please use your main account email.
    3. Get the link to your Upwork profile. It's necessary because we only pay via Upwork. You can access it by logging in, and then clicking on your name. It'll look like this. If you don't already have an account, sign up for one here.
    4. Copy the format below and paste it in a comment on this issue. Replace the placeholder text with your actual details.
      Screen Shot 2022-11-16 at 4 42 54 PM
      Format:
    Contributor details
    Your Expensify account email: <REPLACE EMAIL HERE>
    Upwork Profile Link: <REPLACE LINK HERE>
    
  12. ntdiary commented on Sep 27, 2023

    @ntdiary
    Contributor

    Please re-state the problem that we are trying to solve in this issue.

    Hi, folks, please describe the problem in your own words, rather than just copying the title. : )

    Additionally, @lncramer, I'm glad you're interested in this project. Please follow our contributor guidelines, which have detailed steps on how to get involved. : )

  13. 51 remaining items

  14. changed the title [-][HOLD for payment 2023-10-23] [HOLD for payment 2023-10-20] [HOLD for payment 2023-10-20] [$500] Web - Account Settings - Inappropriate error message when add Legal name in non-English alphabet[/-] [+][HOLD for payment 2023-10-23] [HOLD for payment 2023-10-23] [HOLD for payment 2023-10-20] [HOLD for payment 2023-10-20] [$500] Web - Account Settings - Inappropriate error message when add Legal name in non-English alphabet[/+] on Oct 16, 2023
  15. melvin-bot commented on Oct 16, 2023

    @melvin-bot

    The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.84-10 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 2023-10-23. 🎊

    After the hold period is over and BZ checklist items are completed, please complete any of the applicable payments for this issue, and check them off once done.

    • External issue reporter
    • Contributor that fixed the issue
    • Contributor+ that helped on the issue and/or PR

    For reference, here are some details about the assignees on this issue:

    As a reminder, here are the bonuses/penalties that should be applied for any External issue:

    • Merged PR within 3 business days of assignment - 50% bonus
    • Merged PR more than 9 business days after assignment - 50% penalty
  16. melvin-bot commented on Oct 16, 2023

    @melvin-bot

    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:

    • [@ntdiary] The PR that introduced the bug has been identified. Link to the PR:
    • [@ntdiary] The offending PR has been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake. Link to comment:
    • [@ntdiary] A discussion in #expensify-bugs has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner. Link to discussion:
    • [@ntdiary] Determine if we should create a regression test for this bug.
    • [@ntdiary] If we decide to create a regression test for the bug, please propose the regression test steps to ensure the same bug will not reach production again.
    • [@lschurr] Link the GH issue for creating/updating the regression test once above steps have been agreed upon:
  17. changed the title [-][HOLD for payment 2023-10-23] [HOLD for payment 2023-10-23] [HOLD for payment 2023-10-20] [HOLD for payment 2023-10-20] [$500] Web - Account Settings - Inappropriate error message when add Legal name in non-English alphabet[/-] [+][HOLD for payment 2023-10-23][$500] Web - Account Settings - Inappropriate error message when add Legal name in non-English alphabet[/+] on Oct 17, 2023
  18. added
    Daily
    and removed
    Weekly
    on Oct 20, 2023
  19. melvin-bot commented on Oct 23, 2023

    @melvin-bot

    @ntdiary, @hungvu193, @NikkiWines, @lschurr Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!

  20. ntdiary commented on Oct 23, 2023

    @ntdiary
    Contributor

    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:

    • [@ntdiary] The PR that introduced the bug has been identified. Link to the PR: N/A
    • [@ntdiary] The offending PR has been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake. Link to comment: N/A
    • [@ntdiary] A discussion in #expensify-bugs has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner. Link to discussion: No need
    • [@ntdiary] Determine if we should create a regression test for this bug. No need
    • [@ntdiary] If we decide to create a regression test for the bug, please propose the regression test steps to ensure the same bug will not reach production again. No need
    • [@lschurr] Link the GH issue for creating/updating the regression test once above steps have been agreed upon:

    this is not a regression, just a translation improvement.

  21. lschurr commented on Oct 23, 2023

    @lschurr
    Contributor

    Payment summary:

    • Bug reporter: Applause (no payment)
    • Contributor: @hungvu193 $500
    • Contributor+: @ntdiary $500
  22. lschurr commented on Oct 23, 2023

    @lschurr
    Contributor

    @ntdiary - please accept the offer in Upwork! https://www.upwork.com/nx/wm/offer/27031539

  23. ntdiary commented on Oct 23, 2023

    @ntdiary
    Contributor

    @ntdiary - please accept the offer in Upwork! https://www.upwork.com/nx/wm/offer/27031539

    @lschurr Accepted. : )

  24. lschurr commented on Oct 23, 2023

    @lschurr
    Contributor

    This is done. Closing!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Awaiting PaymentBugDailyExternalWaiting for copy

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions