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

[$250] Bank account - "Hmm... it's not here" page appears after selecting Incorporation state #45060

Closed
2 of 6 tasks
izarutskaya opened this issue Jul 9, 2024 · 19 comments · Fixed by #45121
Closed
2 of 6 tasks
Assignees
Labels
Bug Something is broken. Auto assigns a BugZero manager. Engineering External Added to denote the issue can be worked on by a contributor Help Wanted Apply this label when an issue is open to proposals by contributors Reviewing Has a PR in review Weekly KSv2

Comments

@izarutskaya
Copy link

izarutskaya commented Jul 9, 2024

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: v9.0.5-5
Reproducible in staging?: Y
Reproducible in production?: Unable to check
If this was caught during regression testing, add the test name, ID and link from TestRail: https://expensify.testrail.io/index.php?/tests/view/4703397
Email or phone of affected tester (no customers): [email protected]
Logs: https://stackoverflow.com/c/expensify/questions/4856
Issue reported by: Applause-Internal team

Action Performed:

Pre-requisite: the user must have created a Workspace and have enabled Workflows.

  1. Go to Settings > Workspaces > Workspace > Workflows.
  2. Tap on "Connect bank account".
  3. Select "Connect manually".
  4. Go trough the add bank account process using the testing credentials.
  5. Once you reach the Incorporation state page on the Company info section, tap on the field and try to select a state.

Expected Result:

Once the user taps on an option, the selected option should be displayed on the Incorporation state field and the user should be able to continue with the add bank account process.

Actual Result:

Once the user taps on an option, "Hmm... it's not here" page is displayed and the user is not able to continue with the add bank account process.

Workaround:

Unknown

Platforms:

Which of our officially supported platforms is this issue occurring on?

  • Android: Native
  • Android: mWeb Chrome
  • iOS: Native
  • iOS: mWeb Safari
  • MacOS: Chrome / Safari
  • MacOS: Desktop

Screenshots/Videos

Bug6536449_1720481576566.Ooji8370_1_.mp4

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~018f7892dcd73eb461
  • Upwork Job ID: 1810720111946419022
  • Last Price Increase: 2024-07-09
Issue OwnerCurrent Issue Owner: @s77rt
@izarutskaya izarutskaya added DeployBlockerCash This issue or pull request should block deployment Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. DeployBlocker Indicates it should block deploying the API labels Jul 9, 2024
Copy link

melvin-bot bot commented Jul 9, 2024

Triggered auto assignment to @dangrous (DeployBlockerCash), see https://stackoverflowteams.com/c/expensify/questions/9980/ for more details.

Copy link

melvin-bot bot commented Jul 9, 2024

Triggered auto assignment to @puneetlath (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details. Please add this bug to a GH project, as outlined in the SO.

@github-actions github-actions bot added Engineering Hourly KSv2 and removed Daily KSv2 labels Jul 9, 2024
Copy link
Contributor

github-actions bot commented Jul 9, 2024

👋 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:

  1. Identify the pull request that introduced this issue and revert it.
  2. Find someone who can quickly fix the issue.
  3. Fix the issue yourself.

@izarutskaya
Copy link
Author

@puneetlath 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.

@izarutskaya
Copy link
Author

We think this issue might be related to the #collect project.

@danieldoglas danieldoglas removed the DeployBlocker Indicates it should block deploying the API label Jul 9, 2024
@danieldoglas
Copy link
Contributor

Doesn't look related to backend changes. Removing the label.

@Julesssss
Copy link
Contributor

Hey @izarutskaya, what is the reason that we cannot test this in prod?

Reproducible in production?: Unable to check

@dominictb
Copy link
Contributor

Proposal

Please re-state the problem that we are trying to solve in this issue.

Once the user taps on an option, "Hmm... it's not here" page is displayed and the user is not able to continue with the add bank account process.

What is the root cause of that problem?

We're removing the params (policyID) when navigating to state selector page

const activeRoute = Navigation.getActiveRouteWithoutParams();

That why when users go back, the policy is empty -> not found page is shown

What changes do you think we should make in order to solve the problem?

We should not remove policyID

Solution 1: add new params to the function getActiveRouteWithoutParams named excludedParams: str[], then we don't remove the excludedParams. In this case we pass policyID

Solution 2: Check the route has policyID, if there is, we will use getActiveRoute instead. Because getActiveRouteWithoutParams is used in profile page only

What alternative solutions did you explore? (Optional)

@Julesssss Julesssss added the External Added to denote the issue can be worked on by a contributor label Jul 9, 2024
@Julesssss
Copy link
Contributor

@dominictb these options make sense to me. I like solution 2 for now as we don't need a more complex and scalable solution yet.

@melvin-bot melvin-bot bot changed the title Bank account - "Hmm... it's not here" page appears after selecting Incorporation state [$250] Bank account - "Hmm... it's not here" page appears after selecting Incorporation state Jul 9, 2024
Copy link

melvin-bot bot commented Jul 9, 2024

Job added to Upwork: https://www.upwork.com/jobs/~018f7892dcd73eb461

@melvin-bot melvin-bot bot added the Help Wanted Apply this label when an issue is open to proposals by contributors label Jul 9, 2024
Copy link

melvin-bot bot commented Jul 9, 2024

Triggered auto assignment to Contributor-plus team member for initial proposal review - @s77rt (External)

@Julesssss
Copy link
Contributor

Julesssss commented Jul 9, 2024

Hi @s77rt can you please review the proposal above, ideally using solution 2?

We need the solution to resolve two bugs, so the changes will need to pass the test cases listed below:

@dangrous
Copy link
Contributor

dangrous commented Jul 9, 2024

2 makes sense to me as well but happy to hear what @s77rt says.

Alternately - do we want to get @nkdengineer / @hoangzinh on this since it seems like a regression from #44981 ?

@s77rt
Copy link
Contributor

s77rt commented Jul 9, 2024

@dominictb Your RCA is correct. However regarding the solution I would prefer to revert #44981 being a workaround, the backTo param shouldn't be manipulated. Then we need to find another solution for #44957. The RCA for that issue is not totally clear.

If we look at the param in the URL path when selecting state, we'll see that &country=AQ (old country code) is there

Why do we even have that param in the backTo param if the original page didn't have it?

Screen.Recording.2024-07-09.at.7.34.39.PM.mov

cc @nkdengineer

@mountiny
Copy link
Contributor

mountiny commented Jul 9, 2024

cc @mateuuszzzzz seems like the issue is not completely fixed

@mountiny
Copy link
Contributor

mountiny commented Jul 9, 2024

@s77rt This is last of 2 blockers, I think the issue that @nkdengineer PR fixed was less severe, user could still add the correct country and state afterwards I assume.

So maybe we can demote that one and revert the CPed change to fix this issue. To unblock a deploy

@s77rt
Copy link
Contributor

s77rt commented Jul 9, 2024

@mountiny I agree. Let's revert the PR

@mountiny
Copy link
Contributor

mountiny commented Jul 9, 2024

Ok I have raised the revert PR here #45121 and going to demote the other issue

@mountiny mountiny removed the DeployBlockerCash This issue or pull request should block deployment label Jul 9, 2024
@mountiny
Copy link
Contributor

mountiny commented Jul 9, 2024

The PR will be QAed in staging

@melvin-bot melvin-bot bot added Weekly KSv2 and removed Weekly KSv2 labels Jul 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something is broken. Auto assigns a BugZero manager. Engineering External Added to denote the issue can be worked on by a contributor Help Wanted Apply this label when an issue is open to proposals by contributors Reviewing Has a PR in review Weekly KSv2
Projects
None yet
Development

Successfully merging a pull request may close this issue.

8 participants