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-11-13] [$250] Desktop - Unexpected error when try to select the purpose "Chat and split" #51395

Closed
1 of 8 tasks
IuliiaHerets opened this issue Oct 24, 2024 · 33 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 External Added to denote the issue can be worked on by a contributor

Comments

@IuliiaHerets
Copy link

IuliiaHerets commented Oct 24, 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: 9.0.53-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: https://expensify.testrail.io/index.php?/tests/view/5123689
Email or phone of affected tester (no customers): rybkina+102324fi@gmail.com
Issue reported by: Applause Internal Team

Action Performed:

  1. Launch App
  2. Create a new user (gmail)
  3. Select the purpose "Chat and split expenses with friends"
  4. Click on "Continue"
  5. Verify that the "What’s your name?" modal appears
  6. Enter any names
  7. Click on "Continue"

Expected Result:

User should land to Concierge chat without issues.

Actual Result:

"What do you want to do today?" modal appeared again and errors appeared in Concierge chat.

Workaround:

Unknown

Platforms:

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

Screenshots/Videos

Bug6643819_1729723484035.chat_and_split.mp4

View all open jobs on GitHub
Bug6643819_1729723484035!Screenshot_2024-10-23_at_18 34 15

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~021850849037204397718
  • Upwork Job ID: 1850849037204397718
  • Last Price Increase: 2024-10-28
Issue OwnerCurrent Issue Owner: @sonialiap
@IuliiaHerets IuliiaHerets added Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. labels Oct 24, 2024
Copy link

melvin-bot bot commented Oct 24, 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.

@IuliiaHerets
Copy link
Author

@sonialiap 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

@NJ-2020
Copy link
Contributor

NJ-2020 commented Oct 24, 2024

Edited by proposal-police: This proposal was edited at 2024-10-26 04:12:11 UTC.

Proposal

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

Desktop - Unexpected error when try to select the purpose "Chat and split"

What is the root cause of that problem?

BE returns error saying
Screenshot 2024-10-24 at 03 25 45
It's because we pass undefined value if the completedTaskReportAction?.reportActionID is null

completedTaskReportActionID: completedTaskReportAction?.reportActionID ?? undefined,

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

We should pass '-1'or '0' as we're changing now from'-1'to'0'`

What alternative solutions did you explore? (Optional)

@trjExpensify
Copy link
Contributor

I can repro this reliably, and dupe reported it here. Moving it on to get C+ eyes on this.

@trjExpensify trjExpensify added the External Added to denote the issue can be worked on by a contributor label Oct 28, 2024
@melvin-bot melvin-bot bot changed the title Desktop - Unexpected error when try to select the purpose "Chat and split" [$250] Desktop - Unexpected error when try to select the purpose "Chat and split" Oct 28, 2024
Copy link

melvin-bot bot commented Oct 28, 2024

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

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

melvin-bot bot commented Oct 28, 2024

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

@DylanDylann
Copy link
Contributor

@NJ-2020's proposal looks good to me. Let's use "-1" value as confirmed here

🎀 👀 🎀 C+ reviewed

Copy link

melvin-bot bot commented Oct 30, 2024

Triggered auto assignment to @yuwenmemon, see https://stackoverflow.com/c/expensify/questions/7972 for more details.

@melvin-bot melvin-bot bot removed the Help Wanted Apply this label when an issue is open to proposals by contributors label Oct 30, 2024
Copy link

melvin-bot bot commented Oct 30, 2024

❌ There was an error making the offer to @DylanDylann for the Reviewer role. The BZ member will need to manually hire the contributor.

Copy link

melvin-bot bot commented Oct 30, 2024

❌ There was an error making the offer to @NJ-2020 for the Contributor role. The BZ member will need to manually hire the contributor.

@yuwenmemon
Copy link
Contributor

@sonialiap Halp

@DylanDylann
Copy link
Contributor

@NJ-2020 Please create a PR

@melvin-bot melvin-bot bot added the Reviewing Has a PR in review label Oct 31, 2024
Copy link

melvin-bot bot commented Nov 6, 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 Nov 6, 2024
Copy link

melvin-bot bot commented Nov 6, 2024

The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.57-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 2024-11-13. 🎊

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

  • @NJ-2020 requires payment (Needs manual offer from BZ)
  • @DylanDylann requires payment (Needs manual offer from BZ)

Copy link

melvin-bot bot commented Nov 6, 2024

@DylanDylann @sonialiap 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]

@DylanDylann
Copy link
Contributor

@marcochavezf Already created a PR on BE

@melvin-bot melvin-bot bot added Daily KSv2 and removed Weekly KSv2 labels Nov 12, 2024
Copy link

melvin-bot bot commented Nov 13, 2024

Payment Summary

Upwork Job

  • ROLE: @NJ-2020 paid $(AMOUNT) via Upwork (LINK)
  • ROLE: @DylanDylann paid $(AMOUNT) via Upwork (LINK)

BugZero Checklist (@sonialiap)

  • I have verified the correct assignees and roles are listed above and updated the neccesary manual offers
  • I have verified that there are no duplicate or incorrect contracts on Upwork for this job (https://www.upwork.com/ab/applicants/1850849037204397718/hired)
  • I have paid out the Upwork contracts or cancelled the ones that are incorrect
  • I have verified the payment summary above is correct

@DylanDylann
Copy link
Contributor

@marcochavezf Could you give an update on this PR?

@marcochavezf
Copy link
Contributor

👋🏽 The PR has been deployed to production

@DylanDylann
Copy link
Contributor

@NJ-2020 Could you create the PR again to fix this issue?

@NJ-2020
Copy link
Contributor

NJ-2020 commented Nov 14, 2024

With the same changes?

I couldn't reproduce this issue on staging web

@DylanDylann
Copy link
Contributor

@NJ-2020 Could you help to point out why we can't reproduce anymore? Our previous PR was reverted

@NJ-2020
Copy link
Contributor

NJ-2020 commented Nov 14, 2024

I think there's some BE changes, right?
#51395 (comment)

@DylanDylann
Copy link
Contributor

Do you mean that the BE no longer returns errors when we pass an undefined value to completedTaskReportActionID params?

@NJ-2020
Copy link
Contributor

NJ-2020 commented Nov 14, 2024

Yes because we still pass undefined here

completedTaskReportActionID: completedTaskReportAction?.reportActionID ?? undefined,

But it works when selecting "Chat and split"

Screen.Recording.2024-11-13.at.20.19.59.mov

Related PR: #51992

@DylanDylann
Copy link
Contributor

DylanDylann commented Nov 14, 2024

BugZero Checklist:

  • [Contributor] Classify the bug:
Bug classification

Source of bug:

  • 1a. Result of the original design (eg. a case wasn't considered)
  • 1b. Mistake during implementation
  • 1c. Backend bug
  • 1z. Other:

Where bug was reported:

  • 2a. Reported on production
  • 2b. Reported on staging (deploy blocker)
  • 2c. Reported on both staging and production
  • 2d. Reported on a PR
  • 2z. Other:

Who reported the bug:

  • 3a. Expensify user
  • 3b. Expensify employee
  • 3c. Contributor
  • 3d. QA
  • 3z. Other:
  • [Contributor] 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:

  • [Contributor] If the regression was CRITICAL (e.g. interrupts a core flow) A discussion in #expensify-open-source 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:

  • [Contributor] If it was decided to create a regression test for the bug, please propose the regression test steps using the template below to ensure the same bug will not reach production again.

  • [BugZero Assignee] Create a GH issue for creating/updating the regression test once above steps have been agreed upon.

    Link to issue: https://github.com/Expensify/Expensify/issues/444096

Regression Test Proposal

Test:

  1. Sign in with new account
  2. On the onboarding flow, select "Chat and split expenses with friends"
  3. Click on "Continue"
  4. Enter your name
  5. Click on "Continue"
  6. Verify it lands to Concierge chat without issues

Do we agree 👍 or 👎

@DylanDylann
Copy link
Contributor

Confirmed the bug is fixed on staging

@melvin-bot melvin-bot bot added the Overdue label Nov 14, 2024
@sonialiap
Copy link
Contributor

@DylanDylann I see that this is linked to a deploy blocker, but seems like that was due to needing BE changes, is that correct?

@melvin-bot melvin-bot bot removed the Overdue label Nov 14, 2024
@DylanDylann
Copy link
Contributor

@sonialiap yes. And It is done now

@melvin-bot melvin-bot bot added the Overdue label Nov 18, 2024
Copy link

melvin-bot bot commented Nov 18, 2024

@yuwenmemon, @sonialiap, @NJ-2020, @DylanDylann Whoops! This issue is 2 days overdue. Let's get this updated quick!

@sonialiap
Copy link
Contributor

sonialiap commented Nov 19, 2024

Payment summary:

@melvin-bot melvin-bot bot added Overdue and removed Overdue labels Nov 19, 2024
@melvin-bot melvin-bot bot removed the Overdue label Nov 22, 2024
@github-project-automation github-project-automation bot moved this from Todo to Done in [#whatsnext] #convert Nov 22, 2024
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 External Added to denote the issue can be worked on by a contributor
Projects
Development

No branches or pull requests

7 participants