Closed lanitochka17 closed 3 weeks ago
Triggered auto assignment to @bfitzexpensify (Bug
), see https://stackoverflow.com/c/expensify/questions/14418 for more details. Please add this bug to a GH project, as outlined in the SO.
@bfitzexpensify 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
We think that this bug might be related to #vip-vsp
Entering number & comma and saving first&last name behaves inconsistently across the app
We are using three validate functions and three error messages in three places of the App
We should use only one method and one error message, the method and the error message can be discussed. In my opinion, legal name is another case. We can just be consistent for DisplayNamePage
and KnowATeacherPage
.
@bfitzexpensify Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!
Job added to Upwork: https://www.upwork.com/jobs/~015c78d657370f836b
Triggered auto assignment to Contributor-plus team member for initial proposal review - @allgandalf (External
)
If you want the application to be consistent in storing first name and last name, you should use a common function to validate. Contributor details Your Expensify account email: mrandaklak@gmail.com Upwork Profile Link: https://www.upwork.com/freelancers/~0103c182d1104ab55e
π£ @mrandaklak! π£ 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:
Contributor details
Your Expensify account email: <REPLACE EMAIL HERE>
Upwork Profile Link: <REPLACE LINK HERE>
Inputing a number into Name field and a comma into Last Name field in "Display Name Page", "Legal Name Page" and "I Know a Teacher Page" show three different error messages.
All of these pages have different validation methods, which I think is fine because the display name should be more flexible than the legal name (for example numbers are fine in the display name). The cause of the problem is inconsistent
error messages for similar errors: privatePersonalDetails.error.hasInvalidCharacter
and personalDetails.error.hasInvalidCharacter
are different. bankAccount.error.firstName
& bankAccount.error.lastName
error messages that are used in the "I Know a Teacher Page" are different too, but maybe this is intended based on error naming.
One option is to just change the error messages to mach one another. Other option is to use same error message on all three pages, but I think that this is less readable and more confusing.
Contributor details Your Expensify account email: mihailonvojinovic@gmail.com Upwork Profile Link: https://www.upwork.com/freelancers/~01b24da7a68d33cecb
β Contributor details stored successfully. Thank you for contributing to Expensify!
@bfitzexpensify, @allgandalf Whoops! This issue is 2 days overdue. Let's get this updated quick!
I will review proposal today
Lets go with @nkdengineer 's proposal, clear RCA and solution.
We can just be consistent for DisplayNamePage and KnowATeacherPage.
I too agree with this!
Lets go with @nkdengineer 's proposal, clear RCA and solution.
We can just be consistent for DisplayNamePage and KnowATeacherPage.
I too agree with this!
πππ C+ reviewed
Triggered auto assignment to @blimpich, see https://stackoverflow.com/c/expensify/questions/7972 for more details.
π£ @allgandalf π An offer has been automatically sent to your Upwork account for the Reviewer role π Thanks for contributing to the Expensify app!
π£ @nkdengineer π An offer has been automatically sent to your Upwork account for the Contributor role π Thanks for contributing to the Expensify app!
Offer link Upwork job Please accept the offer and leave a comment on the Github issue letting us know when we can expect a PR to be ready for review π§βπ» Keep in mind: Code of Conduct | Contributing π
@allgandalf The PR is here.
Sorry, was stuck with something super urgent internally π₯ (slack for reference), I will review the PR today
Thanks for the patience, all yours @blimpich
Automation failed, this was already deployed to production here
[x] The PR that introduced the bug has been identified. Link to the PR: https://github.com/Expensify/App/pull/35229
[x] 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: https://github.com/Expensify/App/pull/35229/files#r1732191068
[x] 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: N/A
[x] 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.
Verify that the last name error appears
Verify that the error appears is the same
Do we agree π or π
Can you close this one @bfitzexpensify ?
I've left this open as the Upwork offer for @nkdengineer remains open for the moment - @nkdengineer, a bump to accept that offer, thank you!
@bfitzexpensify Thanks for the bump, all good from me now
Thanks! Payment sorted. Let's close this out.
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: 9.0.13 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:
Entering number & comma and saving first&last name must behave consistently across the app
Actual Result:
Entering number & comma and saving first&last name behaves inconsistently across the app
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
https://github.com/user-attachments/assets/0be0bc4c-41e3-4202-8129-b5f79e11e542
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @allgandalf