-
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
[$250] Profile - After the user's address is saved, Address Line 2 is added to Address Line 1 #45765
Comments
Triggered auto assignment to @JmillsExpensify ( |
We think that this bug might be related to #vip-vsp |
@JmillsExpensify 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 |
ProposalPlease re-state the problem that we are trying to solve in this issue.Profile - After the user's address is saved, Address Line 2 is added to Address Line 1 What is the root cause of that problem?We are saving both street and street2 in App/src/libs/PersonalDetailsUtils.ts Lines 214 to 215 in b8b99d0
But we are not extracting street2 properly here Lines 31 to 32 in b8b99d0
What changes do you think we should make in order to solve the problem?We can start saving them separately by creating
What alternative solutions did you explore? (Optional) |
ProposalPlease re-state the problem that we are trying to solve in this issue.After the user's address is saved, Address Line 2 is added to Address Line 1 What is the root cause of that problem?Street value from API response are combined for Street 1 and Street 2, separated by \n And we don't handle it here What changes do you think we should make in order to solve the problem?Handle the street value with \n from API response to separate it to Street 1 and Street 2
And change this to
What alternative solutions did you explore? (Optional) |
Updated to fix a typo |
ProposalPlease re-state the problem that we are trying to solve in this issue.Profile - After the user's address is saved, Address Line 2 is added to Address Line 1 What is the root cause of that problem?We already have App/src/libs/actions/PersonalDetails.ts Lines 173 to 179 in b8b99d0
What changes do you think we should make in order to solve the problem?We are already sending App/src/libs/actions/PersonalDetails.ts Lines 152 to 159 in b8b99d0
What alternative solutions did you explore? (Optional)We should save address: {
street: PersonalDetailsUtils.getFormattedStreet(street, street2),
addressLine1:street,
addressLine2:street2,
city,
state,
zip,
country,
}, And then use We can use |
Proposal Updated
|
@JmillsExpensify Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
@JmillsExpensify Huh... This is 4 days overdue. Who can take care of this? |
@JmillsExpensify 6 days overdue. This is scarier than being forced to listen to Vogon poetry! |
Adding this to wave-collect since it's about private addresses, which is used for the bank/reimbursement flow. I'm also opening up to the community. |
Job added to Upwork: https://www.upwork.com/jobs/~015086577f7d57dabf |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @thesahindia ( |
I am not sure if we wanna handle this in back end or front end. Gonna wait for internal engineer's opinion. 🎀 👀 🎀 C+ reviewed (using it to get the internal engineer assigned here) |
Triggered auto assignment to @marcochavezf, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
@marcochavezf, can we make this change in the backend? Or should we handle this issue in the front-end like mentioned in #45765 (comment)? |
@JmillsExpensify @marcochavezf @thesahindia 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! |
Not overdue, PR is WIP |
This issue has not been updated in over 15 days. @JmillsExpensify, @marcochavezf, @nyomanjyotisa, @thesahindia eroding to Monthly issue. P.S. Is everyone reading this sure this is really a near-term priority? Be brave: if you disagree, go ahead and close it out. If someone disagrees, they'll reopen it, and if they don't: one less thing to do! |
The PR for this hit prod a month ago... |
Payment summary:
|
$250 approved for @thesahindia |
All contributors paid out, so closing. |
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.9-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: https://expensify.testrail.io/index.php?/tests/view/4738169
Email or phone of affected tester (no customers): [email protected]
Issue reported by: Applause - Internal Team
Action Performed:
Expected Result:
All address fields are saved correctly
Actual Result:
Contents of Address Line 2 was added to the end of Address Line 1. Field "Address Line 2" is empty
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6546667_1721338922580.iOS-Address-2-added-to-Address-1.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: