You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[HOLD for payment 2023-10-31] Address - 'Hmm it's not here' page shows up when selecting a country #30128
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open StagingDeployCash deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:
Identify the pull request that introduced this issue and revert it.
@ahmedGaber93 Do you mind confirming that you haven't been paid for this issue? I'm unable to find a linked Upwork job, so I just want to be sure before creating another job.
Activity
melvin-bot commentedon Oct 21, 2023
Triggered auto assignment to @JmillsExpensify (
Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.melvin-bot commentedon Oct 21, 2023
Bug0 Triage Checklist (Main S/O)
Platformsin OP are ✅)OSBotify commentedon Oct 21, 2023
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open
StagingDeployCashdeploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:melvin-bot commentedon Oct 21, 2023
Triggered auto assignment to @luacmartins (
Engineering), see https://stackoverflow.com/c/expensify/questions/4319 for more details.ahmedGaber93 commentedon Oct 21, 2023
Proposal
Please re-state the problem that we are trying to solve in this issue.
Address - 'Hmm it's not here' page shows up when selecting a country
What is the root cause of that problem?
After select country we backTo using
route.params.backToApp/src/pages/settings/Profile/PersonalDetails/CountrySelectionPage.js
Line 70 in 6031f3e
the issue here is the URL is not correct, so the
route.params.backTois return undifinedthe url has 2 "?"
?country=US?backTo=http://localhost:8082/settings/profile/personal-details/address/country?country=US?backTo=%2Fsettings%2Fprofile%2Fpersonal-details%2Faddress
this because
getBackToParamis start with "?" regardless the main URL has "?" or notApp/src/ROUTES.ts
Lines 14 to 16 in 6031f3e
What changes do you think we should make in order to solve the problem?
We need to change
getBackToParamto start with "?" if is first params and else start with "&".What alternative solutions did you explore? (Optional)
or replace
getBackToParamwith new methodgetUrlWithBackToParamdummy-1111 commentedon Oct 21, 2023
This is a regression from the PR #29813
cc @tgolen
thienlnam commentedon Oct 22, 2023
Hmm I tried the revert of that PR but still running into a different problem when trying the reproduction steps
http://localhost:8082/settings/profile/personal-details/address
Uncaught Error: allCountries.a was not found in the default language
41 remaining items
luacmartins commentedon Nov 20, 2023
Just missing payment
melvin-bot commentedon Nov 24, 2023
@JmillsExpensify, @luacmartins Whoops! This issue is 2 days overdue. Let's get this updated quick!
JmillsExpensify commentedon Nov 24, 2023
@ahmedGaber93 Do you mind confirming that you haven't been paid for this issue? I'm unable to find a linked Upwork job, so I just want to be sure before creating another job.
ahmedGaber93 commentedon Nov 24, 2023
@JmillsExpensify no, I haven't been paid for this issue.
JmillsExpensify commentedon Nov 24, 2023
Thanks I'll create an Upwork job now.
JmillsExpensify commentedon Nov 24, 2023
Mind applying here: https://www.upwork.com/jobs/~0172d8e78897a88014
ahmedGaber93 commentedon Nov 24, 2023
@JmillsExpensify Applied.
JmillsExpensify commentedon Nov 24, 2023
Offer sent! Thank you
JmillsExpensify commentedon Nov 24, 2023
Offer paid via Upwork. Thanks everyone!