Skip to content

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

Closed

Description

@kbecciv

If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com 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

Activity

  1. github-actions commented on Nov 23, 2023

    @github-actions
    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.
  2. melvin-bot commented on Nov 23, 2023

    @melvin-bot

    📣 @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>
    
  3. melvin-bot commented on Nov 23, 2023

    @melvin-bot

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

  4. mkhutornyi commented on Nov 23, 2023

    @mkhutornyi
    Contributor

    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}

  5. luacmartins commented on Nov 23, 2023

    @luacmartins
    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?

  6. mkhutornyi commented on Nov 23, 2023

    @mkhutornyi
    Contributor

    yes I am

  7. added
    BugSomething is broken. Auto assigns a BugZero manager.
    on Nov 23, 2023
  8. 26 remaining items

  9. melvin-bot commented on Nov 29, 2023

    @melvin-bot

    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:
  10. jliexpensify commented on Dec 6, 2023

    @jliexpensify
    Contributor

    Not overdue but bump for @burczu to complete the checklist

  11. jliexpensify commented on Dec 8, 2023

    @jliexpensify
    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

  12. 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[/+] on Dec 8, 2023
  13. mkhutornyi commented on Dec 8, 2023

    @mkhutornyi
    Contributor

    @jliexpensify applied. thank you

  14. jliexpensify commented on Dec 8, 2023

    @jliexpensify
    Contributor

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

  15. 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[/+] on Dec 8, 2023
  16. melvin-bot commented on Dec 8, 2023

    @melvin-bot

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

  17. luacmartins commented on Dec 8, 2023

    @luacmartins
    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

Metadata

Metadata

Labels

BugSomething is broken. Auto assigns a BugZero manager.DailyKSv2EngineeringExternalAdded to denote the issue can be worked on by a contributorHelp WantedApply this label when an issue is open to proposals by contributors

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions