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] [HOLD for payment 2024-06-28] [$250] Chat-App crashes when mentioning any user using "@" after entering a new line #44085

Closed
2 of 6 tasks
m-natarajan opened this issue Jun 20, 2024 · 38 comments
Assignees
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Bug Something is broken. Auto assigns a BugZero manager. Engineering External Added to denote the issue can be worked on by a contributor Weekly KSv2

Comments

@m-natarajan
Copy link

m-natarajan commented Jun 20, 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: 1.4.86-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: https://expensify.testrail.io/index.php?/tests/view/4652687
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: Applause internal team
Slack conversation:

Action Performed:

  1. Navigate to a conversation
  2. Enter "@" in the compose box
  3. Enter into a new line and don't type anything
  4. Go back to the first line and select "@here"(or any user) from the option displayed

Expected Result:

The mentioned user/users are properly displayed in chat

Actual Result:

App crashes

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

Bug6519452_1718891715234!staging.new.expensify.com-1718891152721.txt

Bug6519452_1718891715220.2024-06-20_16_44_34.mp4

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~018bd766d2c6ceab9a
  • Upwork Job ID: 1803855456079648204
  • Last Price Increase: 2024-06-20
  • Automatic offers:
    • hoangzinh | Reviewer | 102824538
    • nkdengineer | Contributor | 102824539
Issue OwnerCurrent Issue Owner: @dylanexpensify
@m-natarajan m-natarajan added DeployBlockerCash This issue or pull request should block deployment Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. DeployBlocker Indicates it should block deploying the API labels Jun 20, 2024
Copy link

melvin-bot bot commented Jun 20, 2024

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

Copy link

melvin-bot bot commented Jun 20, 2024

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

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.

@m-natarajan
Copy link
Author

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

@m-natarajan
Copy link
Author

We think that this bug might be related to #vip-vsb

@rlinoz
Copy link
Contributor

rlinoz commented Jun 20, 2024

Crash:

TypeError: Failed to execute 'setStart' on 'Range': parameter 1 is not of type 'Node'.
    at c (cursorUtils.js:57:19)
    at h (parserUtils.js:159:5)
    at m (parserUtils.js:188:9)
    at MarkdownTextInput.web.js:154:24
    at MarkdownTextInput.web.js:430:5
    at tl (react-dom.production.min.js:242:332)
    at gl (react-dom.production.min.js:259:147)
    at Cl (react-dom.production.min.js:258:446)
    at ml (react-dom.production.min.js:257:421)
    at react-dom.production.min.js:282:96

@rlinoz rlinoz removed the DeployBlocker Indicates it should block deploying the API label Jun 20, 2024
@ishpaul777
Copy link
Contributor

Maybe from this PR #43644, will confirm after reverting locally

@rlinoz
Copy link
Contributor

rlinoz commented Jun 20, 2024

oh, shouldn't that be in this diff? production...staging

@ishpaul777
Copy link
Contributor

reverting #43644 doesn't fix this

@rlinoz
Copy link
Contributor

rlinoz commented Jun 20, 2024

I think it was this one #42622, which updates the live markdown library to 0.1.84

@rlinoz
Copy link
Contributor

rlinoz commented Jun 20, 2024

@rlinoz
Copy link
Contributor

rlinoz commented Jun 20, 2024

I am not eager to revert the version though because we are already at 0.1.85 and the 0.1.84 fixes a bug

@rlinoz rlinoz added Help Wanted Apply this label when an issue is open to proposals by contributors External Added to denote the issue can be worked on by a contributor labels Jun 20, 2024
@melvin-bot melvin-bot bot changed the title Chat-App crashes when mentioning any user using "@" after entering a new line [$250] Chat-App crashes when mentioning any user using "@" after entering a new line Jun 20, 2024
Copy link

melvin-bot bot commented Jun 20, 2024

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

@nkdengineer
Copy link
Contributor

@hoangzinh The PR is here.

@hoangzinh
Copy link
Contributor

@rlinoz all yours

@rlinoz
Copy link
Contributor

rlinoz commented Jun 21, 2024

@rlinoz
Copy link
Contributor

rlinoz commented Jun 21, 2024

Tested the CP and it fixes the issue, removing the deploy blocker label.

@rlinoz rlinoz removed the DeployBlockerCash This issue or pull request should block deployment label Jun 21, 2024
@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 21, 2024
@melvin-bot melvin-bot bot changed the title [$250] Chat-App crashes when mentioning any user using "@" after entering a new line [HOLD for payment 2024-06-28] [$250] Chat-App crashes when mentioning any user using "@" after entering a new line Jun 21, 2024
Copy link

melvin-bot bot commented Jun 21, 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 Jun 21, 2024
Copy link

melvin-bot bot commented Jun 21, 2024

The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.0-9 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-06-28. 🎊

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

Copy link

melvin-bot bot commented Jun 21, 2024

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:

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

@melvin-bot melvin-bot bot added Weekly KSv2 and removed Weekly KSv2 labels Jun 25, 2024
@melvin-bot melvin-bot bot changed the title [HOLD for payment 2024-06-28] [$250] Chat-App crashes when mentioning any user using "@" after entering a new line [HOLD for payment 2024-07-02] [HOLD for payment 2024-06-28] [$250] Chat-App crashes when mentioning any user using "@" after entering a new line Jun 25, 2024
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. 🎊

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

Copy link

melvin-bot bot commented Jun 25, 2024

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:

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

@melvin-bot melvin-bot bot added Daily KSv2 Overdue and removed Weekly KSv2 labels Jun 28, 2024
@dylanexpensify
Copy link
Contributor

Payment summary:

Please apply/request!

@melvin-bot melvin-bot bot removed the Overdue label Jul 1, 2024
@dylanexpensify
Copy link
Contributor

Done!

@melvin-bot melvin-bot bot added Weekly KSv2 and removed Daily KSv2 labels Jul 3, 2024
@melvin-bot melvin-bot bot changed the title [HOLD for payment 2024-07-02] [HOLD for payment 2024-06-28] [$250] Chat-App crashes when mentioning any user using "@" after entering a new line [HOLD for payment 2024-07-10] [HOLD for payment 2024-07-02] [HOLD for payment 2024-06-28] [$250] Chat-App crashes when mentioning any user using "@" after entering a new line 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. 🎊

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

Copy link

melvin-bot bot commented Jul 3, 2024

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:

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

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 External Added to denote the issue can be worked on by a contributor Weekly KSv2
Projects
None yet
Development

No branches or pull requests

7 participants