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

[HOLD for payment 2024-10-17] [HOLD for payment 2024-10-16] Accounting - Empty row is displayed in accountings page #50379

Closed
2 of 6 tasks
IuliiaHerets opened this issue Oct 8, 2024 · 15 comments
Assignees
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Bug Something is broken. Auto assigns a BugZero manager. Engineering Weekly KSv2

Comments

@IuliiaHerets
Copy link

IuliiaHerets commented Oct 8, 2024

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: v9.0.46-1
Reproducible in staging?: Y
Reproducible in production?: N
Email or phone of affected tester (no customers): applausetester+shsb22cp111@applause.expensifail.com
Issue reported by: Applause Internal Team

Action Performed:

  1. Log in to any account
  2. Create a new workspace
  3. Navigate to more features > Enable Accounting
  4. Navigate to accounting page and observe the fifth row

Expected Result:

No empty row is displayed in the page

Actual Result:

An empty row is displayed with a connect button which doesn't navigate to anything when clicked

Workaround:

Unknown

Platforms:

  • Android: Native
  • Android: mWeb Chrome
  • iOS: Native
  • iOS: mWeb Safari
  • MacOS: Chrome / Safari
  • MacOS: Desktop

Screenshots/Videos

Bug6627983_1728364648198.2024-10-08_08_10_53.mp4

View all open jobs on GitHub

Issue OwnerCurrent Issue Owner: @joekaufmanexpensify
@IuliiaHerets IuliiaHerets added DeployBlockerCash This issue or pull request should block deployment Bug Something is broken. Auto assigns a BugZero manager. labels Oct 8, 2024
Copy link

melvin-bot bot commented Oct 8, 2024

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

Copy link
Contributor

github-actions bot commented Oct 8, 2024

👋 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 melvin-bot bot removed the Hourly KSv2 label Oct 8, 2024
Copy link

melvin-bot bot commented Oct 8, 2024

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

@IuliiaHerets
Copy link
Author

We think that this bug might be related to #wave-control

@mkzie2
Copy link
Contributor

mkzie2 commented Oct 8, 2024

Edited by proposal-police: This proposal was edited at 2024-10-08 09:25:12 UTC.

Proposal

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

An empty row is displayed with a connect button which doesn't navigate to anything when clicked

What is the root cause of that problem?

QBD is included in the connections list here:

App/src/CONST.ts

Line 2304 in 256a747

QBD: 'quickbooksDesktop',

But its integration data has not been defined yet:

function getAccountingIntegrationData(

Causing the menu items here to have one empty row:

const integrationData = getAccountingIntegrationData(integration, policyID, translate);

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

Early return for undefined integrationData and filter the otherIntegrations to only get truthy values.

We faced this problem several times in the past when a new integration is added. I think we should not ignore it because we will get more and more integrations in the future.

@ZhenjaHorbach
Copy link
Contributor

@hoangzinh @lakchote
This is ours
I think we can fix it in one of our PRs

@hoangzinh
Copy link
Contributor

I think we can spin up a quick PR to remove the deploy blocker.

@hoangzinh
Copy link
Contributor

@ZhenjaHorbach are you available to open a PR? I can help to review

@ZhenjaHorbach
Copy link
Contributor

ZhenjaHorbach commented Oct 8, 2024

@ZhenjaHorbach are you available to open a PR? I can help to review

Yes
I will create after 5 minutes

@MonilBhavsar
Copy link
Contributor

This is fixed. Thanks all for the help!

Screenshot 2024-10-08 at 5 17 55 PM

@MonilBhavsar MonilBhavsar removed the DeployBlockerCash This issue or pull request should block deployment label Oct 8, 2024
@melvin-bot melvin-bot bot added Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Weekly KSv2 labels Oct 9, 2024
@melvin-bot melvin-bot bot changed the title Accounting - Empty row is displayed in accountings page [HOLD for payment 2024-10-16] Accounting - Empty row is displayed in accountings page Oct 9, 2024
@melvin-bot melvin-bot bot removed the Reviewing Has a PR in review label Oct 9, 2024
Copy link

melvin-bot bot commented Oct 9, 2024

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

Copy link

melvin-bot bot commented Oct 9, 2024

The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.46-5 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 2024-10-16. 🎊

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

Copy link

melvin-bot bot commented Oct 9, 2024

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:

  • [@ZhenjaHorbach] The PR that introduced the bug has been identified. Link to the PR:
  • [@ZhenjaHorbach] 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:
  • [@ZhenjaHorbach] 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:
  • [@ZhenjaHorbach] Determine if we should create a regression test for this bug.
  • [@ZhenjaHorbach] 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.
  • [@joekaufmanexpensify] 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 Oct 10, 2024
@melvin-bot melvin-bot bot changed the title [HOLD for payment 2024-10-16] Accounting - Empty row is displayed in accountings page [HOLD for payment 2024-10-17] [HOLD for payment 2024-10-16] Accounting - Empty row is displayed in accountings page Oct 10, 2024
Copy link

melvin-bot bot commented Oct 10, 2024

The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.47-4 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 2024-10-17. 🎊

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

Copy link

melvin-bot bot commented Oct 10, 2024

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:

  • [@ZhenjaHorbach] The PR that introduced the bug has been identified. Link to the PR:
  • [@ZhenjaHorbach] 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:
  • [@ZhenjaHorbach] 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:
  • [@ZhenjaHorbach] Determine if we should create a regression test for this bug.
  • [@ZhenjaHorbach] 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.
  • [@joekaufmanexpensify] Link the GH issue for creating/updating the regression test once above steps have been agreed upon:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Bug Something is broken. Auto assigns a BugZero manager. Engineering Weekly KSv2
Projects
None yet
Development

No branches or pull requests

6 participants