-
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-08-07] [$250] Group - Invalid group chat name entered after group creation shows error. #45586
Comments
Triggered auto assignment to @alexpensify ( |
We think this issue might be related to the #vip-vsb. |
ProposalPlease re-state the problem that we are trying to solve in this issue.Group - Invalid group chat name entered after group creation shows error. What is the root cause of that problem?No validation for invalid group name is added on the frontend and the backend only returns error when group name is updated. App/src/pages/GroupChatNameEditPage.tsx Lines 56 to 66 in e3b508b
What changes do you think we should make in order to solve the problem?We should add validation check on the frontend also, for validation we should add the same regex/check used in the backend. What alternative solutions did you explore? (Optional) |
ProposalPlease re-state the problem that we are trying to solve in this issue.Invalid group chat name entered while creating group from the BE. What is the root cause of that problem?We simply validated the name length by App/src/libs/ValidationUtils.ts Line 338 in 81bc5b0
However, in the test string, there was an Unicode character What changes do you think we should make in order to solve the problem?We need to match the length validation with the BE by using Lines 5704 to 5709 in 88f9419
|
Other GHs have been a priority, I'll review soon |
Job added to Upwork: https://www.upwork.com/jobs/~0114cd4bde59962aa8 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @sobitneupane ( |
@sobitneupane - can you review if one of these proposals will fix this problem? Thanks! |
ProposalPlease re-state the problem that we are trying to solve in this issue.
What is the root cause of that problem?
with
What changes do you think we should make in order to solve the problem?
What alternative solutions did you explore? (Optional)Beside the main change above, we can:
|
Thanks for the proposal everyone. Proposal from @dominictb looks good to me. The change proposed will ensure the FE validation. We might want to validate the groupChatName in BE as well during group creation. Looks like the validation is only done when groupChatName is updated. 🎀 👀 🎀 C+ reviewed |
Triggered auto assignment to @NikkiWines, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
agreed that @dominictb's proposal looks good 👍 |
📣 @dominictb 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
Awesome, this PR is moving along, and we are waiting for it to go to production. |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.14-6 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-08-07. 🎊 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:
|
Noted that the payment date is on August 7 |
Payouts due: August 7, 2024
Upwork job is here. |
Closing - the upwork process is complete |
$250 approved for @sobitneupane |
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.8
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught during regression testing, add the test name, ID and link from TestRail: https://expensify.testrail.io/index.php?/tests/view/4730508
Logs: https://stackoverflow.com/c/expensify/questions/4856
Issue reported by: Applause-Internal team
Action Performed:
Expected Result:
Invalid group chat name entered while creating group or after group creation must behave in the same way.
Actual Result:
Invalid group chat name entered while creating group not showing error but entered after group creation shows error.
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Bug6544708_1721196432232.inva.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @alexpensifyThe text was updated successfully, but these errors were encountered: