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-02-09] IOU - Pay elsewhere button does nothing and console error shows up #35561

Closed
6 tasks done
lanitochka17 opened this issue Feb 1, 2024 · 18 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

@lanitochka17
Copy link

lanitochka17 commented Feb 1, 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: .1.3.45-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. [User A] Request money from User B
  2. [User B] Click on IOU preview to go to IOU report
  3. [User B] Click Pay elsewhere

Expected Result:

The request is paid successfully

Actual Result:

Nothing happens after clicking on Pay elsewhere. Console error shows up. On Android and iOS, 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
  • MacOS: Desktop

Screenshots/Videos

Add any screenshot/video evidence

Bug6363689_1706797625555.Bug6363660_1706795683853_20240201_175303__1_.mp4

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 Feb 1, 2024
Copy link

melvin-bot bot commented Feb 1, 2024

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

@melvin-bot melvin-bot bot added the Daily KSv2 label Feb 1, 2024
@github-actions github-actions bot added Engineering Hourly KSv2 and removed Daily KSv2 labels Feb 1, 2024
Copy link
Contributor

github-actions bot commented Feb 1, 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.

Copy link

melvin-bot bot commented Feb 1, 2024

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

@lanitochka17
Copy link
Author

We think that this bug might be related to #wave6
CC @greg-schroeder

@lakchote
Copy link
Contributor

lakchote commented Feb 1, 2024

> When user requested money from within a specific report, we did not pass the specific reportID to the backend. Instead we always depended on what reportID has been saved in the chatReport.iouReportID key.
Looks like it might be #35246 cc @mountiny

EDIT: not the culprit.

@mountiny
Copy link
Contributor

mountiny commented Feb 1, 2024

I dont think its related, this seems as backend issue

The moneyRequestReport is missing chatReportID key

image

in here

@mountiny
Copy link
Contributor

mountiny commented Feb 1, 2024

its in onyx, it will be the same fix as here https://github.com/Expensify/App/pull/35563/files#r1474670646 need to add the chatReportID to the memo

@aimane-chnaif
Copy link
Contributor

aimane-chnaif commented Feb 1, 2024

I am not able to reproduce on main (pointed to production backend)

Screen.Recording.2024-02-01.at.4.45.30.PM.mov

@lakchote
Copy link
Contributor

lakchote commented Feb 1, 2024

I am not able to reproduce on main

Hmm, that's odd I can reproduce it on main

payelsewhere.mov

@aimane-chnaif
Copy link
Contributor

@lakchote is it pointed to staging or production backend?

@aimane-chnaif
Copy link
Contributor

Strange. I reliably reproduced on staging but still not on main

Screen.Recording.2024-02-01.at.4.59.03.PM.mov

@lakchote
Copy link
Contributor

lakchote commented Feb 1, 2024

Yes it looks like it's on staging only.

It was stated by @lanitochka17 😄

Reproducible in staging?: Y
Reproducible in production?: N

@mountiny
Copy link
Contributor

mountiny commented Feb 1, 2024

I can reproduce on main, adding the chatReportID to the memo fixed it

@mountiny
Copy link
Contributor

mountiny commented Feb 1, 2024

Ideally we can fix this in @rlinoz PR too #35563

@francoisl francoisl added the Reviewing Has a PR in review label Feb 1, 2024
@mountiny mountiny removed the DeployBlockerCash This issue or pull request should block deployment label Feb 1, 2024
@mountiny
Copy link
Contributor

mountiny commented Feb 1, 2024

fix cped

@mountiny mountiny closed this as completed Feb 1, 2024
@melvin-bot melvin-bot bot added Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Hourly KSv2 labels Feb 2, 2024
@melvin-bot melvin-bot bot changed the title IOU - Pay elsewhere button does nothing and console error shows up [HOLD for payment 2024-02-09] IOU - Pay elsewhere button does nothing and console error shows up Feb 2, 2024
Copy link

melvin-bot bot commented Feb 2, 2024

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

@melvin-bot melvin-bot bot removed the Reviewing Has a PR in review label Feb 2, 2024
Copy link

melvin-bot bot commented Feb 2, 2024

The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.35-7 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-02-09. 🎊

Copy link

melvin-bot bot commented Feb 2, 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:

  • [@lakchote] The PR that introduced the bug has been identified. Link to the PR:
  • [@lakchote] 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:
  • [@lakchote] 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:
  • [@lakchote] Determine if we should create a regression test for this bug.
  • [@lakchote] 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.
  • [@JmillsExpensify] 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