-
Notifications
You must be signed in to change notification settings - Fork 3k
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-12-05] [$250] Android - Profile - Zip code field is auto populated with invalid format when adding address #52237
Comments
Triggered auto assignment to @JmillsExpensify ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.Android - Profile - Zip code field is auto populated with invalid format when adding address What is the root cause of that problem?
Lines 3761 to 3764 in 17cae11
What changes do you think we should make in order to solve the problem?
GB: {
// regex: /^[A-Z]{1,2}[0-9R][0-9A-Z]?\s*[0-9][A-Z-CIKMOV]{2}$/,
regex: /^[A-Z]{1,2}[0-9R][0-9A-Z]?\s*[0-9]?[A-Z-CIKMOV]{0,2}$/,
samples: 'LA102UX, BL2F8FX, BD1S9LU, WR4G 6LH',
}, What alternative solutions did you explore? (Optional)Result |
@JmillsExpensify Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
@JmillsExpensify Eep! 4 days overdue now. Issues have feelings too... |
Opening up to the community since we already have a proposal. |
Job added to Upwork: https://www.upwork.com/jobs/~021856693783876183313 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @mananjadhav ( |
Edited by proposal-police: This proposal was edited at 2024-11-14 22:59:01 UTC. ProposalPlease re-state the problem that we are trying to solve in this issue.Android - Profile - Zip code field is auto populated with invalid format when adding address What is the root cause of that problem?We are only allowing outward and inward code together in the regex here Lines 3761 to 3764 in 17cae11
but in this case it only provided the outward code, hence, the error. What changes do you think we should make in order to solve the problem?The outward code is 2-4 char length code before the space and the inward code is 3 character length after the space so we should update the regex to allow for allowing omitting of the inward code. We do that by making the inward code(the regex part after the space as a whole optional with The other problem I noticed in the regex regarding inward code is inward code are three char length with the first part digit followed by the second part of two letters but the letters cannot include the letters
Note that if we change the inward code part as What alternative solutions did you explore? (Optional) |
Triggered auto assignment to @mjasikowski, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
@mjasikowski quick bump on this |
let's go with @FitseTLT's proposal! |
📣 @FitseTLT 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
@JmillsExpensify @mananjadhav @mjasikowski @FitseTLT this issue was created 2 weeks ago. Are we close to approving a proposal? If not, what's blocking us from getting this issue assigned? Don't hesitate to create a thread in #expensify-open-source to align faster in real time. Thanks! |
Pinged @FitseTLT on Slack to get an update on his progress. |
PR will be ready today 👍 |
PR will be posted soon and I'll try to finish the review over the weekend. |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.67-9 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-12-05. 🎊 For reference, here are some details about the assignees on this issue:
|
@mananjadhav @JmillsExpensify @mananjadhav The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed. Please copy/paste the BugZero Checklist from here into a new comment on this GH and complete it. If you have the K2 extension, you can simply click: [this button] |
BugZero Checklist:
Source of bug:
Where bug was reported:
Who reported the bug:
Regression Test Proposal Template. I don't think we need a separate regression test for this one. |
@JmillsExpensify Can you please post the payout summary so that I can raise the request? |
Payment summary:
|
As for the regression test, why would we not add a regression test for international addressees? That seems to be the main issue, and one that we should test in the future to ensure it doesn't happen again. |
Contributor paid via Upwork. |
Because I thought it's already a part of the regression test? If it isn't then we'll need to add. |
Ah, perfect, thanks for confirming. Ok, closing this issue out then, as your payment happens via New Expensify. |
$250 approved for @mananjadhav |
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: 9.0.59-0
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught on HybridApp, is this reproducible on New Expensify Standalone?: 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/5196117&group_by=cases:section_id&group_order=asc&group_id=229064
Issue reported by: Applause Internal Team
Action Performed:
Expected Result:
When selecting an address from suggestions, all the fields should be auto populated properly and the user should be able to save this address.
Actual Result:
When selecting "123 Paddington Street, UK, London" from address suggestions, the zip code field gets auto populated with an invalid format and the user is unable to save this address.
Workaround:
Unknown
Platforms:
Screenshots/Videos
Bug6658482_1731045837838.UK.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: