Skip to content

[HOLD for payment 2024-08-09] [$125] QBO - App crashes when clicking on Card reconciliation immediately after QBO is connected #46362

Closed

Description

@lanitochka17

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: 9.0.13-3
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught during regression testing, add the test name, ID and link from TestRail: N/A
Issue reported by: Applause - Internal Team

Action Performed:

  1. Go to staging.new.expensify.com
  2. Go to workspace settings > Accounting
  3. Connect to QBO
  4. Enter credentials
  5. After being redirected to ND, immediately click on Card reconciliation. (important)

Expected Result:

App will not crash.

Actual Result:

App crashes when clicking on Card reconciliation immediately after QBO is connected

Workaround:

Unknwon

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

Bug6554402_1722061152972.20240727_141345.mp4

logs (2).txt

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~0139d8c9fe296a0fd9
  • Upwork Job ID: 1818015645571701690
  • Last Price Increase: 2024-07-29
Issue OwnerCurrent Issue Owner: @
Issue OwnerCurrent Issue Owner: @CortneyOfstad / @miljakljajic

Activity

  1. added
    BugSomething is broken. Auto assigns a BugZero manager.
    on Jul 27, 2024
  2. melvin-bot commented on Jul 27, 2024

    @melvin-bot

    Triggered auto assignment to @CortneyOfstad (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.

  3. ShridharGoel commented on Jul 27, 2024

    @ShridharGoel
    Contributor

    Proposal

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

    App crashes when clicking on Card reconciliation immediately after QBO is connected.

    What is the root cause of that problem?

    When autoSync is null/undefined, the below would lead to an exception.

    const autoSync = !!policy?.connections?.[connection]?.config?.autoSync.enabled;
    

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

    Add option chaining like this:

    const autoSync = !!policy?.connections?.[connection]?.config?.autoSync?.enabled ?? false;
    

    We can decide the default value.

    Also, the name autoSync can be changed to isAutoSyncEnabled.

  4. added
    ExternalAdded to denote the issue can be worked on by a contributor
    on Jul 29, 2024
  5. changed the title [-]QBO - App crashes when clicking on Card reconciliation immediately after QBO is connected[/-] [+][$250] QBO - App crashes when clicking on Card reconciliation immediately after QBO is connected[/+] on Jul 29, 2024
  6. melvin-bot commented on Jul 29, 2024

    @melvin-bot
  7. added
    Help WantedApply this label when an issue is open to proposals by contributors
    on Jul 29, 2024
  8. changed the title [-][$250] QBO - App crashes when clicking on Card reconciliation immediately after QBO is connected[/-] [+][$125] QBO - App crashes when clicking on Card reconciliation immediately after QBO is connected[/+] on Jul 29, 2024
  9. melvin-bot commented on Jul 29, 2024

    @melvin-bot

    Current assignee @DylanDylann is eligible for the External assigner, not assigning anyone new.

  10. 20 remaining items

  11. miljakljajic commented on Aug 8, 2024

    @miljakljajic
    Contributor

    Thank you!

    @ShridharGoel I hired you to the job - if you accept the contract by tomorrow, I'll get you paid on time - or else @CortneyOfstad will handle next week when she's back

  12. melvin-bot commented on Aug 9, 2024

    @melvin-bot

    Payment Summary

    Upwork Job

    BugZero Checklist (@CortneyOfstad)

    • I have verified the correct assignees and roles are listed above and updated the neccesary manual offers
    • I have verified that there are no duplicate or incorrect contracts on Upwork for this job (https://www.upwork.com/ab/applicants/1818015645571701690/hired)
    • I have paid out the Upwork contracts or cancelled the ones that are incorrect
    • I have verified the payment summary above is correct
  13. removed their assignment
    on Aug 12, 2024
  14. miljakljajic commented on Aug 12, 2024

    @miljakljajic
    Contributor

    Unassigning myself as @CortneyOfstad is back from OOO

  15. CortneyOfstad commented on Aug 12, 2024

    @CortneyOfstad
    Contributor

    Thanks @miljakljajic!

    @ShridharGoel looks like it is still waiting for you to accept — please do so as soon as you can!

  16. melvin-bot commented on Aug 15, 2024

    @melvin-bot

    @CortneyOfstad, @luacmartins, @ShridharGoel, @DylanDylann Whoops! This issue is 2 days overdue. Let's get this updated quick!

  17. CortneyOfstad commented on Aug 19, 2024

    @CortneyOfstad
    Contributor

    Payment Summary

    @ShridharGoel — paid $125 via Upwork
    @DylanDylann — is not paid for this issue per the comment here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Awaiting PaymentAuto-added when associated PR is deployed to productionBugSomething is broken. Auto assigns a BugZero manager.DailyKSv2ExternalAdded to denote the issue can be worked on by a contributor

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions