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-07-10] [HOLD for payment 2024-07-02] Pay someone - App crashes after paying someone and opening chat header in transaction thread #44201

Closed
6 tasks done
lanitochka17 opened this issue Jun 22, 2024 · 15 comments
Assignees
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Engineering Weekly KSv2

Comments

@lanitochka17
Copy link

lanitochka17 commented Jun 22, 2024

If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!


Version Number: 9.0.1-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

Action Performed:

  1. Go to staging.new.expensify.com
  2. Go to any chat
  3. Go to + > Pay
  4. Enter amount > Pay elsewhere
  5. Immediately click on the expense preview and then the chat header after paying the money
  6. Wait until the app crashes

Expected Result:

App will not crash

Actual Result:

App crashes after paying someone and opening chat header in transaction thread

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

Bug6521357_1719047085756.crash.mp4

logs (2).txt

View all open jobs on GitHub

@lanitochka17 lanitochka17 added DeployBlockerCash This issue or pull request should block deployment DeployBlocker Indicates it should block deploying the API labels Jun 22, 2024
Copy link
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.

Copy link

melvin-bot bot commented Jun 22, 2024

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

@lanitochka17
Copy link
Author

@dangrous FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors

@ishpaul777
Copy link
Contributor

ishpaul777 commented Jun 22, 2024

Offending PR - #43251


Possible solution to fix crash:
we need to default parentReportID and reportID to -1 instead of empty string.

const [parentReport] = useOnyx(`${ONYXKEYS.COLLECTION.REPORT}${report.parentReportID ?? ''}`);
const [sortedAllReportActions] = useOnyx(`${ONYXKEYS.COLLECTION.REPORT_ACTIONS}${report.reportID ?? ''}`, {

@ikevin127
Copy link
Contributor

cc @cdOut If this is indeed caused by our PR, looks like we missed adding the right fallback value there ^.

@melvin-bot melvin-bot bot added Reviewing Has a PR in review Weekly KSv2 and removed Hourly KSv2 labels Jun 24, 2024
@mountiny mountiny removed the DeployBlocker Indicates it should block deploying the API label Jun 24, 2024
@dangrous
Copy link
Contributor

@ikevin127 @cdOut let us know when this is ready for a look!

@cdOut
Copy link
Contributor

cdOut commented Jun 24, 2024

@dangrous the PR is mentioned here and ready for review.

@ikevin127
Copy link
Contributor

PR was ✅ Approved - ready for final review & merge!

@cdOut
Copy link
Contributor

cdOut commented Jun 24, 2024

Fixed in this PR.

@dangrous
Copy link
Contributor

As noted on the other PR ^, this should be fixed by #44279

@melvin-bot melvin-bot bot added Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Weekly KSv2 labels Jun 25, 2024
@melvin-bot melvin-bot bot changed the title Pay someone - App crashes after paying someone and opening chat header in transaction thread [HOLD for payment 2024-07-02] Pay someone - App crashes after paying someone and opening chat header in transaction thread Jun 25, 2024
@melvin-bot melvin-bot bot removed the Reviewing Has a PR in review label Jun 25, 2024
Copy link

melvin-bot bot commented Jun 25, 2024

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

Copy link

melvin-bot bot commented Jun 25, 2024

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

@melvin-bot melvin-bot bot added Daily KSv2 Overdue and removed Weekly KSv2 labels Jul 2, 2024
Copy link

melvin-bot bot commented Jul 2, 2024

Skipping the payment summary for this issue since all the assignees are employees or vendors. If this is incorrect, please manually add the payment summary SO.

@dangrous
Copy link
Contributor

dangrous commented Jul 3, 2024

Closing this out since payment will be handled in the other regression issue.

@dangrous dangrous closed this as completed Jul 3, 2024
@melvin-bot melvin-bot bot added Weekly KSv2 and removed Overdue Daily KSv2 labels Jul 3, 2024
@melvin-bot melvin-bot bot changed the title [HOLD for payment 2024-07-02] Pay someone - App crashes after paying someone and opening chat header in transaction thread [HOLD for payment 2024-07-10] [HOLD for payment 2024-07-02] Pay someone - App crashes after paying someone and opening chat header in transaction thread Jul 3, 2024
Copy link

melvin-bot bot commented Jul 3, 2024

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

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 Engineering Weekly KSv2
Projects
None yet
Development

No branches or pull requests

6 participants