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 2023-10-23] [HOLD for payment 2023-10-23] [HOLD for payment 2023-10-20] [HOLD for payment 2023-10-20] [$500] Chat - App crash when open edit date request money by deep link #29183

Closed
4 of 6 tasks
kbecciv opened this issue Oct 10, 2023 · 32 comments
Assignees
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Daily KSv2 Engineering External Added to denote the issue can be worked on by a contributor Help Wanted Apply this label when an issue is open to proposals by contributors

Comments

@kbecciv
Copy link

kbecciv commented Oct 10, 2023

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.80.0
Reproducible in staging?: y
Reproducible in production?: y
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: @namhihi237
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1696863974272199

Action Performed:

  1. Create a request money
  2. Click request preview
  3. Click request item
  4. Click date and copy url
  5. Create a public room and send URL
  6. Logout and open the publish room
  7. Click open url

Expected Result:

App does not crash

Actual Result:

App crash when open edit date request money by deep link

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

Android: Native
Android: mWeb Chrome
Screen.Recording.2023-10-09.at.22.36.55.1.mov
iOS: Native
iOS: mWeb Safari
Screen.Recording.2023-10-09.at.22.49.25.mov
MacOS: Chrome / Safari
Screen.Recording.2023-10-09.at.22.06.44.mov
MacOS: Desktop
Screen.Recording.2023-10-09.at.22.26.22.mov

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~01c4f5d983bc3511a7
  • Upwork Job ID: 1711819993131061248
  • Last Price Increase: 2023-10-10
@kbecciv kbecciv added the DeployBlockerCash This issue or pull request should block deployment label Oct 10, 2023
@github-actions github-actions bot added the Hourly KSv2 label Oct 10, 2023
@OSBotify
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.

@melvin-bot
Copy link

melvin-bot bot commented Oct 10, 2023

Triggered auto assignment to @puneetlath (Engineering), see https://stackoverflow.com/c/expensify/questions/4319 for more details.

@namhihi237
Copy link
Contributor

This issue come from #28645

@puneetlath
Copy link
Contributor

@tgolen mind taking a look? Seems to be coming from your PR.

@saranshbalyan-1234
Copy link
Contributor

Proposal

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

App crash when open edit date request money by deep link

What is the root cause of that problem?

While page is being accessed via deep link, initially report object is null which gives this error as we cannot access properties of null or undefined here

key: ({report, parentReportActions}) => {
const parentReportAction = lodashGet(parentReportActions, [report.parentReportActionID]);
return `${ONYXKEYS.COLLECTION.TRANSACTION}${lodashGet(parentReportAction, 'originalMessage.IOUTransactionID', 0)}`;
},

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

use report object like we use in other places of same component like this

key: ({report}) => `${ONYXKEYS.COLLECTION.REPORT_ACTIONS}${report ? report.parentReportID : '0'}`,

thus the solution would look something like this

 const parentReportAction = lodashGet(parentReportActions, [report ? report.parentReportActionID : '0']);

What alternative solutions did you explore? (Optional)

N/A

@tgolen
Copy link
Contributor

tgolen commented Oct 10, 2023

@saranshbalyan-1234 Has the correct solution 👍

@tgolen tgolen added the External Added to denote the issue can be worked on by a contributor label Oct 10, 2023
@melvin-bot melvin-bot bot changed the title Chat - App crash when open edit date request money by deep link [$500] Chat - App crash when open edit date request money by deep link Oct 10, 2023
@melvin-bot
Copy link

melvin-bot bot commented Oct 10, 2023

Job added to Upwork: https://www.upwork.com/jobs/~01c4f5d983bc3511a7

@melvin-bot melvin-bot bot added the Help Wanted Apply this label when an issue is open to proposals by contributors label Oct 10, 2023
@melvin-bot
Copy link

melvin-bot bot commented Oct 10, 2023

Triggered auto assignment to Contributor-plus team member for initial proposal review - @s77rt (External)

@puneetlath
Copy link
Contributor

@saranshbalyan-1234 can you raise a PR asap?

@saranshbalyan-1234
Copy link
Contributor

@puneetlath sure, on it

@melvin-bot melvin-bot bot added Reviewing Has a PR in review Weekly KSv2 and removed Hourly KSv2 labels Oct 10, 2023
@saranshbalyan-1234
Copy link
Contributor

saranshbalyan-1234 commented Oct 10, 2023

PR is raised, please check
Handled some more conditions to get all the edge case scenario as well

@jasperhuangg
Copy link
Contributor

Removing the deploy blocker label since this is reproducible on production too

@jasperhuangg jasperhuangg removed the DeployBlockerCash This issue or pull request should block deployment label Oct 11, 2023
@tgolen
Copy link
Contributor

tgolen commented Oct 11, 2023

The PR has been merged and I am cherry-picking it to staging right now. @kbecciv Can you please revalidate this on staging once it is deployed?

@kbecciv
Copy link
Author

kbecciv commented Oct 11, 2023

Checking, will update you shortly

@kbecciv
Copy link
Author

kbecciv commented Oct 11, 2023

@tgolen Issue is reproducible on build 1.3.81.5

Recording.4957.mp4

@melvin-bot melvin-bot bot removed the Reviewing Has a PR in review label Oct 13, 2023
@melvin-bot
Copy link

melvin-bot bot commented Oct 13, 2023

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

@melvin-bot
Copy link

melvin-bot bot commented Oct 13, 2023

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

After the hold period is over and BZ checklist items are completed, please complete any of the applicable payments for this issue, and check them off once done.

  • External issue reporter
  • Contributor that fixed the issue
  • Contributor+ that helped on the issue and/or PR

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

As a reminder, here are the bonuses/penalties that should be applied for any External issue:

  • Merged PR within 3 business days of assignment - 50% bonus
  • Merged PR more than 9 business days after assignment - 50% penalty

@melvin-bot melvin-bot bot added Weekly KSv2 and removed Weekly KSv2 labels Oct 13, 2023
@melvin-bot melvin-bot bot changed the title [HOLD for payment 2023-10-20] [$500] Chat - App crash when open edit date request money by deep link [HOLD for payment 2023-10-20] [HOLD for payment 2023-10-20] [$500] Chat - App crash when open edit date request money by deep link Oct 13, 2023
@melvin-bot
Copy link

melvin-bot bot commented Oct 13, 2023

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

After the hold period is over and BZ checklist items are completed, please complete any of the applicable payments for this issue, and check them off once done.

  • External issue reporter
  • Contributor that fixed the issue
  • Contributor+ that helped on the issue and/or PR

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

As a reminder, here are the bonuses/penalties that should be applied for any External issue:

  • Merged PR within 3 business days of assignment - 50% bonus
  • Merged PR more than 9 business days after assignment - 50% penalty

@melvin-bot melvin-bot bot added Weekly KSv2 and removed Weekly KSv2 labels Oct 16, 2023
@melvin-bot melvin-bot bot changed the title [HOLD for payment 2023-10-20] [HOLD for payment 2023-10-20] [$500] Chat - App crash when open edit date request money by deep link [HOLD for payment 2023-10-23] [HOLD for payment 2023-10-20] [HOLD for payment 2023-10-20] [$500] Chat - App crash when open edit date request money by deep link Oct 16, 2023
@melvin-bot
Copy link

melvin-bot bot commented Oct 16, 2023

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

After the hold period is over and BZ checklist items are completed, please complete any of the applicable payments for this issue, and check them off once done.

  • External issue reporter
  • Contributor that fixed the issue
  • Contributor+ that helped on the issue and/or PR

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

As a reminder, here are the bonuses/penalties that should be applied for any External issue:

  • Merged PR within 3 business days of assignment - 50% bonus
  • Merged PR more than 9 business days after assignment - 50% penalty

@melvin-bot melvin-bot bot added Weekly KSv2 and removed Weekly KSv2 labels Oct 16, 2023
@melvin-bot melvin-bot bot changed the title [HOLD for payment 2023-10-23] [HOLD for payment 2023-10-20] [HOLD for payment 2023-10-20] [$500] Chat - App crash when open edit date request money by deep link [HOLD for payment 2023-10-23] [HOLD for payment 2023-10-23] [HOLD for payment 2023-10-20] [HOLD for payment 2023-10-20] [$500] Chat - App crash when open edit date request money by deep link Oct 16, 2023
@melvin-bot
Copy link

melvin-bot bot commented Oct 16, 2023

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

After the hold period is over and BZ checklist items are completed, please complete any of the applicable payments for this issue, and check them off once done.

  • External issue reporter
  • Contributor that fixed the issue
  • Contributor+ that helped on the issue and/or PR

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

As a reminder, here are the bonuses/penalties that should be applied for any External issue:

  • Merged PR within 3 business days of assignment - 50% bonus
  • Merged PR more than 9 business days after assignment - 50% penalty

@melvin-bot melvin-bot bot added Daily KSv2 Overdue and removed Weekly KSv2 labels Oct 20, 2023
@melvin-bot
Copy link

melvin-bot bot commented Oct 23, 2023

@puneetlath, @s77rt, @saranshbalyan-1234 Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!

@melvin-bot
Copy link

melvin-bot bot commented Oct 25, 2023

@puneetlath, @s77rt, @saranshbalyan-1234 Eep! 4 days overdue now. Issues have feelings too...

@puneetlath
Copy link
Contributor

Not sure why offers weren't auto-sent.

@saranshbalyan-1234 @namhihi237 can you please apply to the job? https://www.upwork.com/jobs/~01c4f5d983bc3511a7

@melvin-bot melvin-bot bot removed the Overdue label Oct 25, 2023
@namhihi237
Copy link
Contributor

@puneetlath I submitted.

@saranshbalyan-1234
Copy link
Contributor

unable to apply, can you please send an offer

@puneetlath
Copy link
Contributor

ok @saranshbalyan-1234 @namhihi237 you both have been sent offers. Please let me know when you've accepted.

@namhihi237
Copy link
Contributor

I accepted @puneetlath

@saranshbalyan-1234
Copy link
Contributor

Thank you @puneetlath accepted

@puneetlath
Copy link
Contributor

Great, all paid. Thanks everyone!

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 Daily KSv2 Engineering External Added to denote the issue can be worked on by a contributor Help Wanted Apply this label when an issue is open to proposals by contributors
Projects
None yet
Development

No branches or pull requests

8 participants