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] Connect Bank account - Crash when completed adding BA manually #28811

Closed
2 of 6 tasks
lanitochka17 opened this issue Oct 4, 2023 · 30 comments
Closed
2 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

@lanitochka17
Copy link

lanitochka17 commented Oct 4, 2023

If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!


Action Performed:

  1. Open the app
  2. Login with any account
  3. Go to Settings -> Workspaces -> Open any WS
  4. Tap on Bank account -> Confirm the changing currency to USD -> Connect manually
  5. Complete process adding BA manually using the "Pending State Withdrawal Account" credentials

Expected Result:

No crash when completed adding BA manually

Actual Result:

Crash when completed adding BA manually

Workaround:

Unknown

Platforms:

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

  • Android / native
  • Android / Chrome
  • iOS / native
  • iOS / Safari
  • MacOS / Chrome / Safari
  • MacOS / Desktop

Version Number: 1.3.77-3

Reproducible in staging?: Yes

Reproducible in production?: N/a

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

Notes/Photos/Videos: Any additional supporting documentation

Bug6224521_1696418117930.Record_2023-10-04-00-50-57_4f9154176b47c00da84e32064abf1c48.1.mp4

Expensify/Expensify Issue URL:

Issue reported by: Applause - Internal Team

Slack conversation:

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~019ebda629d7c18f15
  • Upwork Job ID: 1709642119622356992
  • Last Price Increase: 2023-10-11
  • Automatic offers:
    • Pujan92 | Contributor | 27024773
@lanitochka17 lanitochka17 added DeployBlockerCash This issue or pull request should block deployment Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. labels Oct 4, 2023
@melvin-bot
Copy link

melvin-bot bot commented Oct 4, 2023

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

@melvin-bot
Copy link

melvin-bot bot commented Oct 4, 2023

Bug0 Triage Checklist (Main S/O)

  • This "bug" occurs on a supported platform (ensure Platforms in OP are ✅)
  • This bug is not a duplicate report (check E/App issues and #expensify-bugs)
    • If it is, comment with a link to the original report, close the issue and add any novel details to the original issue instead
  • This bug is reproducible using the reproduction steps in the OP. S/O
    • If the reproduction steps are clear and you're unable to reproduce the bug, check with the reporter and QA first, then close the issue.
    • If the reproduction steps aren't clear and you determine the correct steps, please update the OP.
  • This issue is filled out as thoroughly and clearly as possible
    • Pay special attention to the title, results, platforms where the bug occurs, and if the bug happens on staging/production.
  • I have reviewed and subscribed to the linked Slack conversation to ensure Slack/Github stay in sync

@lanitochka17 lanitochka17 changed the title Android - Connect Bank account - Crash when completed adding BA manually Connect Bank account - Crash when completed adding BA manually Oct 4, 2023
@github-actions github-actions bot added Engineering Hourly KSv2 and removed Daily KSv2 labels Oct 4, 2023
@OSBotify
Copy link
Contributor

OSBotify commented Oct 4, 2023

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

@melvin-bot
Copy link

melvin-bot bot commented Oct 4, 2023

Triggered auto assignment to @srikarparsi (Engineering), see https://stackoverflow.com/c/expensify/questions/4319 for more details.

@Pujan92
Copy link
Contributor

Pujan92 commented Oct 4, 2023

Proposal

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

App crash for Validate screen in bank account setup flow, It is not crashing for me in ios/android but shows a console warning in the web and it might be the reason for crash.

What is the root cause of that problem?

Seems testId is set to undefined as we don't have value displayName here.

testID={ValidationStep.displayName}

Screenshot 2023-10-04 at 19 13 21

Kind of regression as that page mentioned here but somehow missed in the PR

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

Set displayName which won't pass undefined to testId.

ValidationStep.displayName = 'ValidationStep';

ValidationStep.propTypes = propTypes;
ValidationStep.defaultProps = defaultProps;

Note: I skipped the onfido flow step to reach the last step as the crash happened after 4th step. For me it is not crashing

Seems more pages need to be reconsidered as the below list of components is missed within that propsoal.

  1. AddPersonalBankAccountPage
  2. SearchPage
  3. RequestorOnfidoStep
  4. WorkspaceInviteMessagePage
  5. ShareCodePage
  6. ReimbursementAccountPage
  7. ContactMethodDetailsPage
  8. WorkspaceInviteMessagePage

@joekaufmanexpensify
Copy link
Contributor

@srikarparsi will you have a chance to look into this today?

@srikarparsi
Copy link
Contributor

Yeah, taking a look now

@srikarparsi
Copy link
Contributor

Hey @Pujan92, I'm not able to reproduce this error for some reason but I see your screenshot and you're right in the ValidationStep and many others don't have DisplayName set. Will you have time to work on this today?

@Pujan92
Copy link
Contributor

Pujan92 commented Oct 4, 2023

I am also not seeing the crash but I can work for fixing the display name set part today.

@srikarparsi
Copy link
Contributor

Awesome thanks, let me know when you have the PR ready to review.

@srikarparsi srikarparsi added Bug Something is broken. Auto assigns a BugZero manager. External Added to denote the issue can be worked on by a contributor and removed Bug Something is broken. Auto assigns a BugZero manager. labels Oct 4, 2023
@melvin-bot
Copy link

melvin-bot bot commented Oct 4, 2023

Current assignee @joekaufmanexpensify is eligible for the Bug assigner, not assigning anyone new.

@melvin-bot
Copy link

melvin-bot bot commented Oct 4, 2023

Bug0 Triage Checklist (Main S/O)

  • This "bug" occurs on a supported platform (ensure Platforms in OP are ✅)
  • This bug is not a duplicate report (check E/App issues and #expensify-bugs)
    • If it is, comment with a link to the original report, close the issue and add any novel details to the original issue instead
  • This bug is reproducible using the reproduction steps in the OP. S/O
    • If the reproduction steps are clear and you're unable to reproduce the bug, check with the reporter and QA first, then close the issue.
    • If the reproduction steps aren't clear and you determine the correct steps, please update the OP.
  • This issue is filled out as thoroughly and clearly as possible
    • Pay special attention to the title, results, platforms where the bug occurs, and if the bug happens on staging/production.
  • I have reviewed and subscribed to the linked Slack conversation to ensure Slack/Github stay in sync

@melvin-bot melvin-bot bot changed the title Connect Bank account - Crash when completed adding BA manually [$500] Connect Bank account - Crash when completed adding BA manually Oct 4, 2023
@melvin-bot
Copy link

melvin-bot bot commented Oct 4, 2023

Job added to Upwork: https://www.upwork.com/jobs/~019ebda629d7c18f15

@melvin-bot melvin-bot bot added the Help Wanted Apply this label when an issue is open to proposals by contributors label Oct 4, 2023
@melvin-bot
Copy link

melvin-bot bot commented Oct 4, 2023

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

@srikarparsi srikarparsi removed the Weekly KSv2 label Oct 4, 2023
@Pujan92
Copy link
Contributor

Pujan92 commented Oct 4, 2023

@srikarparsi Plz review the PR once.

@mountiny mountiny added Help Wanted Apply this label when an issue is open to proposals by contributors Daily KSv2 Needs Reproduction Reproducible steps needed and removed Reviewing Has a PR in review DeployBlockerCash This issue or pull request should block deployment Hourly KSv2 labels Oct 4, 2023
@mountiny
Copy link
Contributor

mountiny commented Oct 4, 2023

After discussion in slack thread, I am demoting this to normal bug as no contributor was able to reproduce actually.

This can still be an issue though so leaving this open

@joekaufmanexpensify
Copy link
Contributor

@Pujan92 I see you closed your PR in favor of #28334 . Does that mean this issue is a dupe, and we can close it?

@Pujan92
Copy link
Contributor

Pujan92 commented Oct 5, 2023

No @joekaufmanexpensify, my findings were not directly related to this issue. Based on that we have reopened this issue for contributors, so I believe we should not close this issue yet.

@joekaufmanexpensify
Copy link
Contributor

Ah, okay got it.

@joekaufmanexpensify
Copy link
Contributor

I was able to reproduce. Discussing here.

@melvin-bot melvin-bot bot added the Overdue label Oct 9, 2023
@joekaufmanexpensify
Copy link
Contributor

Not overdue

@melvin-bot melvin-bot bot removed the Overdue label Oct 9, 2023
@joekaufmanexpensify joekaufmanexpensify removed the Needs Reproduction Reproducible steps needed label Oct 10, 2023
@joekaufmanexpensify
Copy link
Contributor

Applause was able to reproduce as well

@melvin-bot
Copy link

melvin-bot bot commented Oct 11, 2023

📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸

@melvin-bot melvin-bot bot added the Overdue label Oct 13, 2023
@joekaufmanexpensify
Copy link
Contributor

Pending proposals

@melvin-bot melvin-bot bot added Overdue and removed Overdue labels Oct 13, 2023
@srikarparsi
Copy link
Contributor

Still pending proposals

@melvin-bot melvin-bot bot removed the Overdue label Oct 16, 2023
@mvtglobally
Copy link

Issue not reproducible during KI retests. (First week)

@joekaufmanexpensify
Copy link
Contributor

I'll try to reproduce today again. If I can't I will close!

@joekaufmanexpensify
Copy link
Contributor

No longer reproducible for me. Closing!

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
None yet
Development

No branches or pull requests

8 participants