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-08-10] App crashes when clicking 'Split bill' button for newly created account #23951

Closed
3 of 6 tasks
kavimuru opened this issue Jul 31, 2023 · 34 comments
Closed
3 of 6 tasks
Assignees
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Bug Something is broken. Auto assigns a BugZero manager. Engineering Internal Requires API changes or must be handled by Expensify staff Reviewing Has a PR in review Weekly KSv2

Comments

@kavimuru
Copy link

kavimuru commented Jul 31, 2023

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


Action Performed:

  1. Sign-up with a new account
  2. Click on 'FAB' menu
  3. Click on 'Split bill' button

Expected Result:

App shouldn't crash

Actual Result:

App crashes

Workaround:

Can the user still use Expensify without this being fixed? Have you informed them of the workaround?

Platforms:

Which of our officially supported platforms is this issue occurring on?

  • Android / native
  • Android / Chrome
  • iOS / native
  • iOS / Safari
  • MacOS / Chrome / Safari
  • MacOS / Desktop

Version Number: 1.3.48-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
Notes/Photos/Videos: Any additional supporting documentation

Screencast.from.2023-07-31.21-38-14.mp4
Recording.1418.mp4

Expensify/Expensify Issue URL:
Issue reported by: @Natnael-Guchima
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1690828817211769

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~01c58572b05d76428f
  • Upwork Job ID: 1689034160602599424
  • Last Price Increase: 2023-08-08
@kavimuru kavimuru added DeployBlockerCash This issue or pull request should block deployment Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. labels Jul 31, 2023
@melvin-bot
Copy link

melvin-bot bot commented Jul 31, 2023

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

@melvin-bot
Copy link

melvin-bot bot commented Jul 31, 2023

Bug0 Triage Checklist (Main S/O)

  • This "bug" occurs on a supported platform (ensure Platforms in OP are ✅)
  • This bug is not a duplicate report (check E/App issues and #expensify-bugs)
    • If it is, comment with a link to the original report, close the issue and add any novel details to the original issue instead
  • This bug is reproducible using the reproduction steps in the OP. S/O
    • If the reproduction steps are clear and you're unable to reproduce the bug, check with the reporter and QA first, then close the issue.
    • If the reproduction steps aren't clear and you determine the correct steps, please update the OP.
  • This issue is filled out as thoroughly and clearly as possible
    • Pay special attention to the title, results, platforms where the bug occurs, and if the bug happens on staging/production.
  • I have reviewed and subscribed to the linked Slack conversation to ensure Slack/Github stay in sync

@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 Jul 31, 2023

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

@Li357
Copy link
Contributor

Li357 commented Jul 31, 2023

Is this a dupe of #23568?

@Li357
Copy link
Contributor

Li357 commented Jul 31, 2023

Hmm, seems not because this crash occurs right when the Split Bill button is clicked. Investigating

@aldo-expensify
Copy link
Contributor

In case it helps... this may have the same root cause as: https://expensify.slack.com/archives/C049HHMV9SM/p1690832195690459

@situchan
Copy link
Contributor

Not reproducible on main. Only staging.

@ahmedGaber93
Copy link
Contributor

ahmedGaber93 commented Jul 31, 2023

I think it dup of/or same root cause #23420

@situchan
Copy link
Contributor

Seems like dupe. Then not sure why this is deploy blocker as #17964 which caused this regression was deployed to production long time ago.

@getusha
Copy link
Contributor

getusha commented Jul 31, 2023

@situchan it's reproducible on staging only. and i don't think the linked PR is the cause no?

@Li357
Copy link
Contributor

Li357 commented Jul 31, 2023

Agree, it seems to be the same root cause as #23420 since currency is undefined (because default props are not applied) when loading.

@Li357 Li357 closed this as completed Jul 31, 2023
@Li357 Li357 reopened this Jul 31, 2023
@Natnael-Guchima
Copy link

Natnael-Guchima commented Jul 31, 2023

Shouldn't this bug be reproducible on production too if it has the same root cause as this pr #23420?

@Li357
Copy link
Contributor

Li357 commented Jul 31, 2023

True, I suspect there was some backend change that was merged recently that caused this intermediate case where currency had no default. I'm going to search for it.

@hannojg
Copy link
Contributor

hannojg commented Aug 1, 2023

Hey, this is very likely a regression introduced by my PR! I am looking into it:

hannojg added a commit to margelo/expensify-app-fork that referenced this issue Aug 2, 2023
@melvin-bot melvin-bot bot added Weekly KSv2 and removed Weekly KSv2 labels Aug 3, 2023
@melvin-bot melvin-bot bot changed the title [HOLD for payment 2023-08-08] App crashes when clicking 'Split bill' button for newly created account [HOLD for payment 2023-08-10] [HOLD for payment 2023-08-08] App crashes when clicking 'Split bill' button for newly created account Aug 3, 2023
@melvin-bot
Copy link

melvin-bot bot commented Aug 3, 2023

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

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

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
Copy link

melvin-bot bot commented Aug 3, 2023

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:

  • [@Li357] The PR that introduced the bug has been identified. Link to the PR:
  • [@Li357] 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:
  • [@Li357] 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:
  • [@Li357] Determine if we should create a regression test for this bug.
  • [@Li357] 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.
  • [@alexpensify] Link the GH issue for creating/updating the regression test once above steps have been agreed upon:

@alexpensify
Copy link
Contributor

@Li357 - it appears the only payment here is to @Natnael-Guchima for reporting. Please confirm, so I can prepare for the upcoming pay period. Thanks!

@melvin-bot melvin-bot bot added Reviewing Has a PR in review Weekly KSv2 and removed Weekly KSv2 labels Aug 7, 2023
@Li357
Copy link
Contributor

Li357 commented Aug 7, 2023

@alexpensify Yep! That should be it.

@melvin-bot melvin-bot bot added Daily KSv2 and removed Weekly KSv2 labels Aug 8, 2023
@alexpensify alexpensify added Help Wanted Apply this label when an issue is open to proposals by contributors Internal Requires API changes or must be handled by Expensify staff labels Aug 8, 2023
@melvin-bot
Copy link

melvin-bot bot commented Aug 8, 2023

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

@melvin-bot
Copy link

melvin-bot bot commented Aug 8, 2023

Triggered auto assignment to Contributor Plus for review of internal employee PR - @Santhosh-Sellavel (Internal)

@alexpensify alexpensify removed the Help Wanted Apply this label when an issue is open to proposals by contributors label Aug 8, 2023
@alexpensify alexpensify added Weekly KSv2 and removed Daily KSv2 labels Aug 8, 2023
@alexpensify alexpensify changed the title [HOLD for payment 2023-08-10] [HOLD for payment 2023-08-08] App crashes when clicking 'Split bill' button for newly created account [HOLD for payment 2023-08-10] App crashes when clicking 'Split bill' button for newly created account Aug 8, 2023
@alexpensify
Copy link
Contributor

@Natnael-Guchima - to prepare for the upcoming pay period, I've sent a request in Upwork. Please accept and I can finalize the process on August 10. Thanks!

@Natnael-Guchima
Copy link

I have accepted the offer. Thanks @alexpensify

@alexpensify
Copy link
Contributor

alexpensify commented Aug 10, 2023

Here is the payment summary:

  • External issue reporter - @Natnael-Guchima $250
  • Contributor that fixed the issue - N/A
  • Contributor+ that helped on the issue and/or PR - N/A

Upwork Job: https://www.upwork.com/jobs/~01c58572b05d76428f

*If applicable, the bonuses will be applied on the final payment

Extra Notes regarding payment: The payment has been paid in Upwork and the job has been closed there too.

@situchan situchan mentioned this issue Aug 18, 2023
59 tasks
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 Internal Requires API changes or must be handled by Expensify staff Reviewing Has a PR in review Weekly KSv2
Projects
None yet
Development

No branches or pull requests