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

[WAITING ON CHECKLIST] [$500] Bank account - App crashes when tapping on Fix the errors in Connect BA page #31795

Closed
4 of 6 tasks
kbecciv opened this issue Nov 23, 2023 · 23 comments
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

@kbecciv
Copy link

kbecciv commented Nov 23, 2023

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.3.0
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:

  1. Launch New Expensify app.
  2. Go to Settings > Workspaces > any workspace.
  3. Click Bank account.
  4. Click Connect manually.
  5. Enter both bank account numbers.
  6. Without checking the ToS checkbox, tap Continue.
  7. Tap Fix the errors.

Expected Result:

App does not crash.

Actual Result:

App crashes.

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 - console error
  • MacOS: Desktop

Screenshots/Videos

Add any screenshot/video evidence

Bug6288914_1700770188377.Screen_Recording_20231124_035640_One_UI_Home.mp4

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~0127dd2a89d454700f
  • Upwork Job ID: 1727796833108000768
  • Last Price Increase: 2023-12-08
@kbecciv kbecciv added the DeployBlockerCash This issue or pull request should block deployment label Nov 23, 2023
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 Nov 23, 2023

📣 @github-actions[bot]! 📣
Hey, it seems we don’t have your contributor details yet! You'll only have to do this once, and this is how we'll hire you on Upwork.
Please follow these steps:

  1. Make sure you've read and understood the contributing guidelines.
  2. Get the email address used to login to your Expensify account. If you don't already have an Expensify account, create one here. If you have multiple accounts (e.g. one for testing), please use your main account email.
  3. Get the link to your Upwork profile. It's necessary because we only pay via Upwork. You can access it by logging in, and then clicking on your name. It'll look like this. If you don't already have an account, sign up for one here.
  4. Copy the format below and paste it in a comment on this issue. Replace the placeholder text with your actual details.
    Screen Shot 2022-11-16 at 4 42 54 PM
    Format:
Contributor details
Your Expensify account email: <REPLACE EMAIL HERE>
Upwork Profile Link: <REPLACE LINK HERE>

Copy link

melvin-bot bot commented Nov 23, 2023

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

@mkhutornyi
Copy link
Contributor

mkhutornyi commented Nov 23, 2023

Proposal

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

App crashes when tapping on Fix the errors while checkbox is not checked

What is the root cause of that problem?

wrong forwardedRef prop key here

forwardedRef={props.forwardedRef}

This is regression from #31369
Before this PR, Checkbox used props.forwardedRef
After this PR, no longer using props.forwardedRef but instead use ref

So it causes focusInput null in FormWrapper:

const focusInput = inputRefs.current[focusKey].current;
// Dismiss the keyboard for non-text fields by checking if the component has the isFocused method, as only TextInput has this method.
if (typeof focusInput.isFocused !== 'function') {

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

replace above line with ref={props.forwardedRef}

@luacmartins
Copy link
Contributor

@mkhutornyi RCA seems correct, but I think we should rename the prop passed down to ref, since that's what we've been doing for TS migrations. Are you available to work on a fix PR within the next hour?

@mkhutornyi
Copy link
Contributor

yes I am

@luacmartins luacmartins assigned luacmartins and mkhutornyi and unassigned Li357 Nov 23, 2023
@luacmartins luacmartins added the Bug Something is broken. Auto assigns a BugZero manager. label Nov 23, 2023
Copy link

melvin-bot bot commented Nov 23, 2023

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

Copy link

melvin-bot bot commented Nov 23, 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

@luacmartins luacmartins added the External Added to denote the issue can be worked on by a contributor label Nov 23, 2023
@melvin-bot melvin-bot bot changed the title Bank account - App crashes when tapping on Fix the errors in Connect BA page [$500] Bank account - App crashes when tapping on Fix the errors in Connect BA page Nov 23, 2023
Copy link

melvin-bot bot commented Nov 23, 2023

Job added to Upwork: https://www.upwork.com/jobs/~0127dd2a89d454700f

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

melvin-bot bot commented Nov 23, 2023

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

@melvin-bot melvin-bot bot added Reviewing Has a PR in review Weekly KSv2 and removed Hourly KSv2 labels Nov 23, 2023
@mkhutornyi
Copy link
Contributor

PR is ready for review

@luacmartins
Copy link
Contributor

Fix CPed, removing blocker label

@luacmartins luacmartins removed the DeployBlockerCash This issue or pull request should block deployment label Nov 23, 2023
@melvin-bot melvin-bot bot added Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Weekly KSv2 labels Nov 27, 2023
@melvin-bot melvin-bot bot changed the title [$500] Bank account - App crashes when tapping on Fix the errors in Connect BA page [HOLD for payment 2023-12-04] [$500] Bank account - App crashes when tapping on Fix the errors in Connect BA page Nov 27, 2023
@melvin-bot melvin-bot bot removed the Reviewing Has a PR in review label Nov 27, 2023
Copy link

melvin-bot bot commented Nov 27, 2023

Reviewing label has been removed, please complete the "BugZero Checklist".

Copy link

melvin-bot bot commented Nov 27, 2023

The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.3-11 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:

If no regressions arise, payment will be issued on 2023-12-04. 🎊

After the hold period is over and BZ checklist items are completed, please complete any of the applicable payments for this issue, and check them off once done.

  • External issue reporter
  • Contributor that fixed the issue
  • Contributor+ that helped on the issue and/or PR

For reference, here are some details about the assignees on this issue:

Copy link

melvin-bot bot commented Nov 27, 2023

BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:

  • [@burczu] The PR that introduced the bug has been identified. Link to the PR:
  • [@burczu] The offending PR has been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake. Link to comment:
  • [@burczu] A discussion in #expensify-bugs has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner. Link to discussion:
  • [@burczu] Determine if we should create a regression test for this bug.
  • [@burczu] If we decide to create a regression test for the bug, please propose the regression test steps to ensure the same bug will not reach production again.
  • [@jliexpensify] Link the GH issue for creating/updating the regression test once above steps have been agreed upon:

@melvin-bot melvin-bot bot added Weekly KSv2 and removed Weekly KSv2 labels Nov 29, 2023
@melvin-bot melvin-bot bot changed the title [HOLD for payment 2023-12-04] [$500] Bank account - App crashes when tapping on Fix the errors in Connect BA page [HOLD for payment 2023-12-06] [HOLD for payment 2023-12-04] [$500] Bank account - App crashes when tapping on Fix the errors in Connect BA page Nov 29, 2023
Copy link

melvin-bot bot commented Nov 29, 2023

The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.4-3 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:

If no regressions arise, payment will be issued on 2023-12-06. 🎊

After the hold period is over and BZ checklist items are completed, please complete any of the applicable payments for this issue, and check them off once done.

  • External issue reporter
  • Contributor that fixed the issue
  • Contributor+ that helped on the issue and/or PR

For reference, here are some details about the assignees on this issue:

Copy link

melvin-bot bot commented Nov 29, 2023

BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:

  • [@burczu] The PR that introduced the bug has been identified. Link to the PR: [TS Migration] Migrate Checkbox.js to TypeScript #31369
  • [@burczu] The offending PR has been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake. Link to comment: [TS Migration] Migrate Checkbox.js to TypeScript #31369 (comment)
  • [@burczu] A discussion in #expensify-bugs has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner. Link to discussion: N/A
  • [@burczu] Determine if we should create a regression test for this bug. N/A
  • [@burczu] If we decide to create a regression test for the bug, please propose the regression test steps to ensure the same bug will not reach production again. N/A
  • [@jliexpensify] Link the GH issue for creating/updating the regression test once above steps have been agreed upon:

@melvin-bot melvin-bot bot added Daily KSv2 Overdue and removed Weekly KSv2 labels Dec 3, 2023
@jliexpensify
Copy link
Contributor

Not overdue but bump for @burczu to complete the checklist

@melvin-bot melvin-bot bot removed the Overdue label Dec 6, 2023
@jliexpensify
Copy link
Contributor

Payment Summary:

  • Contributor: @mkhutornyi $500 - I can't find you on Upworks, can you apply for the job?
  • C+: @burczu (invoiced payment) - Please complete checklist!

Upworks job

@jliexpensify jliexpensify changed the title [HOLD for payment 2023-12-06] [HOLD for payment 2023-12-04] [$500] Bank account - App crashes when tapping on Fix the errors in Connect BA page [WAITING ON CHECKLIST] [HOLD for payment 2023-12-06] [$500] Bank account - App crashes when tapping on Fix the errors in Connect BA page Dec 8, 2023
@mkhutornyi
Copy link
Contributor

@jliexpensify applied. thank you

@jliexpensify
Copy link
Contributor

Paid @mkhutornyi and removed job. Just waiting on checklist now.

@jliexpensify jliexpensify removed the Awaiting Payment Auto-added when associated PR is deployed to production label Dec 8, 2023
@jliexpensify jliexpensify changed the title [WAITING ON CHECKLIST] [HOLD for payment 2023-12-06] [$500] Bank account - App crashes when tapping on Fix the errors in Connect BA page [WAITING ON CHECKLIST] [$500] Bank account - App crashes when tapping on Fix the errors in Connect BA page Dec 8, 2023
Copy link

melvin-bot bot commented Dec 8, 2023

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

@luacmartins
Copy link
Contributor

I completed the checklist. We're good to close. Thanks everyone!

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

6 participants