Skip to content
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

Profile - System allows you to save a dot instead of any information for home address fields #16928

Closed
6 tasks done
kbecciv opened this issue Apr 4, 2023 · 11 comments
Closed
6 tasks done
Assignees
Labels

Comments

@kbecciv
Copy link

kbecciv commented Apr 4, 2023

If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!


Issue found when executing PR #15880

Action Performed:

  1. Go to URL https://staging.new.expensify.com/
  2. Login with any account
  3. Go to Settings -> Profile -> Personal details -> Home address
  4. Enter dots . in any field -> Save

Expected Result:

An error is shown

Actual Result:

The information is saved

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.2.94.0

Reproducible in staging?: Yes

Reproducible in production?: Yes

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

Bug6005903_Record_2023-04-04-19-09-06.mp4

Expensify/Expensify Issue URL:

Issue reported by: Applause - Internal Team

Slack conversation:

View all open jobs on GitHub

@kbecciv kbecciv added Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. labels Apr 4, 2023
@MelvinBot
Copy link

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

@MelvinBot
Copy link

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

@kbecciv kbecciv changed the title Profile - System allows you to save a dot instead of home address fields Profile - System allows you to save a dot instead of any information for home address fields Apr 4, 2023
@Prince-Mendiratta
Copy link
Contributor

@kbecciv I'm unsure if this was found while testing #15880 since the layout is different. In the video, the zip code field and state field are adjacent but with the changes from #15880 , both the inputs have their own row.

Moreover, due to the zip code validation, it is not possible to save only . for ALL fields. At least for the zip input, you cannot use dots but yeah this can be done for other fields if the zip code input is correct.

@kbecciv
Copy link
Author

kbecciv commented Apr 5, 2023

@Prince-Mendiratta QA team found this issue while executing the PR above. We want to check with Engeneers if it's expected behavior.

@0xmiros
Copy link
Contributor

0xmiros commented Apr 5, 2023

This is not a bug but enhancement of validation.
@Beamanator do we need more strict validation for all fields than just empty check?

@Beamanator Beamanator self-assigned this Apr 6, 2023
@Beamanator
Copy link
Contributor

I assigned myself b/c I worked on this page in the recent past

In OldDot we don't validate exactly what's in these address fields, just that they're > 1 character & < 50 characters. So I think it's fine not to have explicit regex for every single field, or else we should probably do that for all forms in the App.

@slafortune
Copy link
Contributor

Since this is reported by applause, there will be no payout for reporting. Will there still be a C+ for review on this @Beamanator ? If not, I'll unassign myself.

@melvin-bot melvin-bot bot added the Overdue label Apr 10, 2023
@MelvinBot
Copy link

@Beamanator, @slafortune Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!

@Beamanator
Copy link
Contributor

@slafortune yes exactly right, this is not a "bug" anyway so you can unassign yourself, I'll just keep this open till @kbecciv can confirm we are good to go - I'm not sure if we need to update any testrail cases or if we can just close this out

@melvin-bot melvin-bot bot removed the Overdue label Apr 11, 2023
@Beamanator Beamanator added Weekly KSv2 and removed Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. labels Apr 11, 2023
@kbecciv
Copy link
Author

kbecciv commented Apr 12, 2023

@Beamanator it doesn't need to update TestRail

@Beamanator
Copy link
Contributor

Ok great sounds good! Let's close this then 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

6 participants