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 2025-01-13] [HOLD for payment 2025-01-07] Chat - App crashes when creating group chat offline and returning online on report details RHP #54595

Closed
5 of 8 tasks
mitarachim opened this issue Dec 27, 2024 · 26 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

Comments

@mitarachim
Copy link

mitarachim commented Dec 27, 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.79-0
Reproducible in staging?: Yes
Reproducible in production?: No
If this was caught on HybridApp, is this reproducible on New Expensify Standalone?: N/A
If this was caught during regression testing, add the test name, ID and link from TestRail: Exp
Email or phone of affected tester (no customers): [email protected]
Issue reported by: Applause Internal Team
Device used: Mac 15.0 / Chrome
App Component: Chat Report View

Action Performed:

  1. Go to staging.new.expensify.com
  2. Go offline.
  3. Open FAB > Start chat.
  4. Create a group chat with any user.
  5. Click on the group chat header.
  6. Go online.

Expected Result:

App will not crash.

Actual Result:

App crashes when creating group chat offline and returning online on report details RHP.

Workaround:

Unknown

Platforms:

  • Android: Standalone
  • Android: HybridApp
  • Android: mWeb Chrome
  • iOS: Standalone
  • iOS: HybridApp
  • iOS: mWeb Safari
  • MacOS: Chrome / Safari
  • MacOS: Desktop

Screenshots/Videos

Bug6702687_1735252105900.group.mp4

Bug6702687_1735252105899!crash.txt

View all open jobs on GitHub

Issue OwnerCurrent Issue Owner: @sonialiap
@mitarachim mitarachim added Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. labels Dec 27, 2024
Copy link

melvin-bot bot commented Dec 27, 2024

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

@mitarachim mitarachim added the DeployBlockerCash This issue or pull request should block deployment label Dec 27, 2024
Copy link

melvin-bot bot commented Dec 27, 2024

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

Copy link

melvin-bot bot commented Dec 27, 2024

💬 A slack conversation has been started in #expensify-open-source

@github-actions github-actions bot added Engineering Hourly KSv2 and removed Daily KSv2 labels Dec 27, 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.

@thelullabyy
Copy link
Contributor

thelullabyy commented Dec 27, 2024

Edited by proposal-police: This proposal was edited at 2024-12-27 07:24:21 UTC.

Proposal

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

App crashes when creating group chat offline and returning online on report details RHP.

What is the root cause of that problem?

It caused by this PR, we don't add default value

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

const [parentReport] = useOnyx(`${ONYXKEYS.COLLECTION.REPORT}${report.parentReportID}`);

We need to add default value and use ?. access to this line

report?.parentReportID ?? CONST.DEFAULT_NUMBER_ID

Also need to fix all other places with same way

What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?

What alternative solutions did you explore? (Optional)

Copy link
Contributor

The comment appears to follow the proposal template with all mandatory lines present.

NO_ACTION

@jasperhuangg
Copy link
Contributor

Hey @TMisiukiewicz can you please fix this regression that was caused by your PR?

@TMisiukiewicz
Copy link
Contributor

@jasperhuangg sure, I'm on it

@TMisiukiewicz
Copy link
Contributor

Opened a PR

@Beamanator Beamanator self-assigned this Dec 30, 2024
@Beamanator
Copy link
Contributor

Helping review this one!

@isagoico
Copy link

issue not reproducible in the latest stg build 🎉

bandicam.2024-12-30.22-19-15-082.mp4

@puneetlath puneetlath removed the DeployBlockerCash This issue or pull request should block deployment label Dec 30, 2024
@melvin-bot melvin-bot bot removed the Weekly KSv2 label Dec 31, 2024
@melvin-bot melvin-bot bot added Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production labels Dec 31, 2024
@melvin-bot melvin-bot bot changed the title Chat - App crashes when creating group chat offline and returning online on report details RHP [HOLD for payment 2025-01-07] Chat - App crashes when creating group chat offline and returning online on report details RHP Dec 31, 2024
@melvin-bot melvin-bot bot removed the Reviewing Has a PR in review label Dec 31, 2024
Copy link

melvin-bot bot commented Dec 31, 2024

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

Copy link

melvin-bot bot commented Dec 31, 2024

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

Copy link

melvin-bot bot commented Dec 31, 2024

@Beamanator / @youssef-lr @sonialiap @Beamanator / @youssef-lr 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]

@melvin-bot melvin-bot bot added Weekly KSv2 and removed Weekly KSv2 labels Jan 6, 2025
@melvin-bot melvin-bot bot changed the title [HOLD for payment 2025-01-07] Chat - App crashes when creating group chat offline and returning online on report details RHP [HOLD for payment 2025-01-13] [HOLD for payment 2025-01-07] Chat - App crashes when creating group chat offline and returning online on report details RHP Jan 6, 2025
Copy link

melvin-bot bot commented Jan 6, 2025

The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.80-6 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 2025-01-13. 🎊

Copy link

melvin-bot bot commented Jan 6, 2025

@Beamanator / @youssef-lr @sonialiap @Beamanator / @youssef-lr 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]

@melvin-bot melvin-bot bot added Daily KSv2 and removed Weekly KSv2 labels Jan 7, 2025
@sonialiap
Copy link
Contributor

@Beamanator @youssef-lr looks like this was a regression fix, so no payment needed, correct?

Also, who can complete the checklist? Would it be @TMisiukiewicz ?

@Beamanator
Copy link
Contributor

Mainly correct, except there was a proposal here: #54595 (comment)

So @TMisiukiewicz would you please let us know if you used that proposal in your solution? It looks like a pretty straightforward fix so just checking if any payout is needed for that contrib.

@TMisiukiewicz
Copy link
Contributor

@Beamanator yeah it was pointing the right place where changes were needed so this proposal was helpful

@Beamanator
Copy link
Contributor

Cool thanks!!

Ok so @sonialiap I believe @thelullabyy is due something for helping narrow down where the bug was coming from - I think we normally go with a quarter of the standard fix price which would be $62.5, but you can confirm 🙏

@sonialiap
Copy link
Contributor

Sounds good, thanks!

@sonialiap
Copy link
Contributor

Payment summary:

@melvin-bot melvin-bot bot added the Overdue label Jan 13, 2025
Copy link

melvin-bot bot commented Jan 13, 2025

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.

@sonialiap
Copy link
Contributor

@thelullabyy please accept the proposal in Upwork. Let me know if you have any questions!

@melvin-bot melvin-bot bot removed the Overdue label Jan 13, 2025
@thelullabyy
Copy link
Contributor

Thanks, I just accepted it.

@sonialiap
Copy link
Contributor

Thanks, paid!

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

No branches or pull requests

9 participants