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

[$500][MEDIUM] Bank account - Fields are empty after navigating back to add BA modal #36450

Closed
5 of 6 tasks
kavimuru opened this issue Feb 14, 2024 · 15 comments
Closed
5 of 6 tasks
Assignees
Labels
Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 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

Comments

@kavimuru
Copy link

kavimuru commented Feb 14, 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: 1.4.41-2
Reproducible in staging?: y
Reproducible in production?: n
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
Expensify/Expensify Issue URL:
Issue reported by: applause internal team
Slack conversation:

Action Performed:

Pre-requisite: the user must be logged in and have created a workspace.

  1. Go to Workspace > Bank account.
  2. Select "Connect manually".
  3. Enter the routing number and account number.
  4. Tap on the back arrow.
  5. Navigate back to the Add bank account modal > Manual option.

Expected Result:

The data entered before should remain on the fields.

Actual Result:

The fields are empty.

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

Add any screenshot/video evidence

Bug6378775_1707868433137.Bmzd4213_1_.mp4

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~016f94e09a4ab6f001
  • Upwork Job ID: 1757555443937619968
  • Last Price Increase: 2024-02-14
@kavimuru kavimuru added DeployBlockerCash This issue or pull request should block deployment External Added to denote the issue can be worked on by a contributor Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. labels Feb 14, 2024
@melvin-bot melvin-bot bot changed the title Bank account - Fields are empty after navigating back to add BA modal [$500] Bank account - Fields are empty after navigating back to add BA modal Feb 14, 2024
Copy link

melvin-bot bot commented Feb 14, 2024

Job added to Upwork: https://www.upwork.com/jobs/~016f94e09a4ab6f001

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

melvin-bot bot commented Feb 14, 2024

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

Copy link

melvin-bot bot commented Feb 14, 2024

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

@github-actions github-actions bot added Engineering Hourly KSv2 and removed Daily KSv2 labels Feb 14, 2024
@melvin-bot melvin-bot bot removed the Hourly KSv2 label Feb 14, 2024
Copy link
Contributor

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

Copy link

melvin-bot bot commented Feb 14, 2024

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

@mountiny mountiny added Daily KSv2 and removed DeployBlockerCash This issue or pull request should block deployment labels Feb 14, 2024
@mountiny mountiny assigned mountiny and unassigned yuwenmemon Feb 14, 2024
@mountiny
Copy link
Contributor

I dont think this is a blocker, we should investigate the root cause however, @barttom @shubham1206agra @MrMuzyk

@jeremy-croff
Copy link
Contributor

Proposal

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

We are clearing the first screens bank info on initial load

What is the root cause of that problem?

We starting doing this since: bf43cc4
The code specifically instructs to clear the bank page screen on initial load.
because of: #31121 (comment)

They wanted it to reset to prevent this scenario and being stuck.

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

I think we should remove the removeExistingBankAccountDetails logic.
After reviewing the issue, it seems like an edge case that the user is able to recover from.

What alternative solutions did you explore? (Optional)

@jeremy-croff
Copy link
Contributor

We can handle that edge case in a seperate ticket if desired, to reset if the user is in that step and the information is not passing validation.

@mountiny
Copy link
Contributor

Thanks I agree this is an edge case for now.

@akinwale
Copy link
Contributor

@jeremy-croff Your proposed solution does not fix the core issue here which is that the data is not being saved after manually entering text in the input fields.

@shubham1206agra
Copy link
Contributor

@mountiny Should we consider this a bug at all? I am more inclined to do nothing here.

@jeremy-croff
Copy link
Contributor

jeremy-croff commented Feb 14, 2024

@jeremy-croff Your proposed solution does not fix the core issue here which is that the data is not being saved after manually entering text in the input fields.

I see my mistake now!
however it does address this flow:

2024-02-14_00-42-23.mp4

@jeremy-croff
Copy link
Contributor

Rechecked, and confirmed that in conjuction with the previous line - we also have to remove

ReimbursementAccountUtils.updateReimbursementAccountDraft(bankAccountData);
line for OP

@MrMuzyk
Copy link
Contributor

MrMuzyk commented Feb 14, 2024

I believe this is intended behaviour.

@nkuoch Can you confirm that?

@greg-schroeder greg-schroeder changed the title [$500] Bank account - Fields are empty after navigating back to add BA modal [$500][MEDIUM] Bank account - Fields are empty after navigating back to add BA modal Feb 14, 2024
@mountiny
Copy link
Contributor

Checked again and I agree, we saving these values only once submitted so this would be a feature request more than a bug now

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. Daily KSv2 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
Projects
No open projects
Development

No branches or pull requests

8 participants