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-11-28] IOU - Web - Console error when selecting pay with Business bank account as recipient #50166

Closed
1 of 6 tasks
lanitochka17 opened this issue Oct 3, 2024 · 28 comments
Assignees
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 Engineering Internal Requires API changes or must be handled by Expensify staff

Comments

@lanitochka17
Copy link

lanitochka17 commented Oct 3, 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: 9.0.44.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: N/A
Issue reported by: Applause - Internal Team

Issue found when executing PR #50052

Action Performed:

  1. Go to https://staging.new.expensify.com/
    and log in as user A
  2. Submit an expense in USD to user B who does not have an expensify account yet
  3. Navigate to the email box and click on the magic link inviting user B to pay the expense
  4. Select Pay with Expensify > Business bank account on the IOU preview

Expected Result:

There are no console errors

Actual Result:

There is a console error after selecting Pay with Expensify > Business bank account. It also happens if Pay elsewhere is selected

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

Screenshots/Videos

Add any screenshot/video evidence
Bug6623320_1727967879848.Recording__835.mp4

logs (2).txt

View all open jobs on GitHub

@lanitochka17 lanitochka17 added DeployBlockerCash This issue or pull request should block deployment Bug Something is broken. Auto assigns a BugZero manager. labels Oct 3, 2024
Copy link

melvin-bot bot commented Oct 3, 2024

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

Copy link

melvin-bot bot commented Oct 3, 2024

Triggered auto assignment to @johncschuster (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 3, 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 added Daily KSv2 and removed Hourly KSv2 labels Oct 3, 2024
@lanitochka17
Copy link
Author

We think that this bug might be related to #wave-collect - Release 2

@cdOut
Copy link
Contributor

cdOut commented Oct 3, 2024

Hi, this was caused by my guided setup PR and is very similar to the previously solved bug here, I think just as before this is a backend problem.

cc @deetergp

@allgandalf
Copy link
Contributor

We can remove the Blocker here as this is BE

@jasperhuangg jasperhuangg removed the DeployBlockerCash This issue or pull request should block deployment label Oct 3, 2024
@jasperhuangg jasperhuangg assigned deetergp and unassigned AndrewGable Oct 3, 2024
@jasperhuangg jasperhuangg added the Internal Requires API changes or must be handled by Expensify staff label Oct 3, 2024
@jasperhuangg
Copy link
Contributor

@deetergp This seems to be a similar issue to #48916, can you fix it in the back-end?

@deetergp
Copy link
Contributor

deetergp commented Oct 4, 2024

@jasperhuangg It's similar but not the same. There is a mysterious onyx update setting nvp_onboarding to a blank string, but it's not coming from CompleteGuidedSetup which is where the one from #48916 was coming. I tested yesterday and confirmed that that fix is still working as intended, but I cannot find where this change to a blank string is coming from. If you've got any thoughts or theories, I am all ears!

@melvin-bot melvin-bot bot added the Overdue label Oct 7, 2024
@johncschuster
Copy link
Contributor

Bumping for Melv (discussion ongoing)

@melvin-bot melvin-bot bot removed the Overdue label Oct 7, 2024
@deetergp
Copy link
Contributor

deetergp commented Oct 9, 2024

Still have not unearthed where this is coming from. Will keep digging tomorrow.

@melvin-bot melvin-bot bot added the Overdue label Oct 11, 2024
@johncschuster
Copy link
Contributor

Bumping for Melv 👍

@melvin-bot melvin-bot bot removed the Overdue label Oct 11, 2024
@deetergp
Copy link
Contributor

This wasn't coming from the backend. We conditionally set nvp_onboarding when we call Report.completeOnboarding on the front end here. I've got a PR going to address it, but need to test more and on other platforms.

@melvin-bot melvin-bot bot added Reviewing Has a PR in review Weekly KSv2 and removed Overdue Daily KSv2 labels Oct 24, 2024
@deetergp
Copy link
Contributor

deetergp commented Nov 6, 2024

Heya, I'm back from OOO and will try to continue testing this in the next day or two.

@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 21, 2024
@melvin-bot melvin-bot bot changed the title IOU - Web - Console error when selecting pay with Business bank account as recipient [HOLD for payment 2024-11-28] IOU - Web - Console error when selecting pay with Business bank account as recipient Nov 21, 2024
@melvin-bot melvin-bot bot removed the Reviewing Has a PR in review label Nov 21, 2024
Copy link

melvin-bot bot commented Nov 21, 2024

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

Copy link

melvin-bot bot commented Nov 21, 2024

The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.64-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-11-28. 🎊

Copy link

melvin-bot bot commented Nov 21, 2024

@deetergp @johncschuster @deetergp The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed. Please copy/paste the BugZero Checklist from here into a new comment on this GH and complete it. If you have the K2 extension, you can simply click: [this button]

@johncschuster
Copy link
Contributor

BugZero Checklist:

  • [Contributor] Classify the bug:
Bug classification

Source of bug:

  • 1a. Result of the original design (eg. a case wasn't considered)
  • 1b. Mistake during implementation
  • 1c. Backend bug
  • 1z. Other:

Where bug was reported:

  • 2a. Reported on production
  • 2b. Reported on staging (deploy blocker)
  • 2c. Reported on both staging and production
  • 2d. Reported on a PR
  • 2z. Other:

Who reported the bug:

  • 3a. Expensify user
  • 3b. Expensify employee
  • 3c. Contributor
  • 3d. QA
  • 3z. Other:
  • [Contributor] 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:

  • [Contributor] If the regression was CRITICAL (e.g. interrupts a core flow) A discussion in #expensify-open-source 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:

  • [Contributor] If it was decided to create a regression test for the bug, please propose the regression test steps using the template below to ensure the same bug will not reach production again.

Regression Test Proposal Template
  • [BugZero Assignee] Create a GH issue for creating/updating the regression test once above steps have been agreed upon.

    Link to issue:

Regression Test Proposal

Precondition:

Test:

Do we agree 👍 or 👎

@johncschuster
Copy link
Contributor

Adding @allroundexperts as the reviewer of the PR

@melvin-bot melvin-bot bot added Daily KSv2 and removed Weekly KSv2 labels Nov 27, 2024
@johncschuster
Copy link
Contributor

johncschuster commented Nov 27, 2024

Payment Summary:

Contributor+: @allroundexperts due $250 via NewDot (to be paid after the regression window is passed and BZ Checklist is complete)

Copy link

melvin-bot bot commented Nov 28, 2024

Payment Summary

Upwork Job

BugZero Checklist (@johncschuster)

  • 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//hired)
  • I have paid out the Upwork contracts or cancelled the ones that are incorrect
  • I have verified the payment summary above is correct

@melvin-bot melvin-bot bot added the Overdue label Dec 2, 2024
@johncschuster
Copy link
Contributor

@allroundexperts can you complete the BZ Checklist above when you get a moment?

@melvin-bot melvin-bot bot removed the Overdue label Dec 2, 2024
@allroundexperts
Copy link
Contributor

BugZero Checklist:

  • [Contributor] Classify the bug:
Bug classification

Source of bug:

  • 1a. Result of the original design (eg. a case wasn't considered)
  • 1b. Mistake during implementation
  • 1c. Backend bug
  • 1z. Other:

Where bug was reported:

  • 2a. Reported on production
  • 2b. Reported on staging (deploy blocker)
  • 2c. Reported on both staging and production
  • 2d. Reported on a PR
  • 2z. Other:

Who reported the bug:

  • 3a. Expensify user
  • 3b. Expensify employee
  • 3c. Contributor
  • 3d. QA
  • 3z. Other:
  • [Contributor] 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: The author is aware of this issue already and commented here.

  • [Contributor] If the regression was CRITICAL (e.g. interrupts a core flow) A discussion in #expensify-open-source 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

  • [Contributor] If it was decided to create a regression test for the bug, please propose the regression test steps using the template below to ensure the same bug will not reach production again.

  • [BugZero Assignee] Create a GH issue for creating/updating the regression test once above steps have been agreed upon.

    Link to issue:

Regression Test Proposal

Precondition:

  • N/A

Test:

  1. Open the app and log in as user A
  2. Submit an expense in USD to user B who does not have an Expensify account
  3. Click on the magic link received by user B inviting him to pay the expense
  4. Select Pay with Expensify -> Business bank account on the IOU preview

Verify that there is no console error after selecting Pay with Expensify -> Business bank account. Also verify that there is no error if "Pay elsewhere" is selected

Do we agree 👍 or 👎

@johncschuster
Copy link
Contributor

Thank you! Please request payment in ND! Payment Summary here

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. Daily KSv2 Engineering Internal Requires API changes or must be handled by Expensify staff
Projects
None yet
Development

No branches or pull requests

8 participants