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-02-15] [$4000] Error message appears when sending 15000 emojis #13988

Closed
1 of 6 tasks
kavimuru opened this issue Jan 4, 2023 · 202 comments
Closed
1 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. Daily KSv2 External Added to denote the issue can be worked on by a contributor Reviewing Has a PR in review

Comments

@kavimuru
Copy link

kavimuru commented Jan 4, 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. navigate to any chat
  2. send 15000 emoji to the chat
  3. Compose with 15000 characters and add one more emoji

Expected Result:

Emojis should be sent since it's exactly 15000 and no error message should be.
Also after 15000 characters adding an emoji should show the count as 15001

Actual Result:

getting an error Auth CreeateReportAction returned an error
In step 3 shows the count as 15002

Workaround:

unknown

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.2.48-2

Reproducible in staging?: y
Reproducible in production?: y
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos:
Screenshot 2022-12-30 at 9 44 27 PM

view-count-bug.mov
Recording.1208.mp4
Recording.1207.mp4

Expensify/Expensify Issue URL:
Issue reported by: @jayeshmangwani
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1672427549244909

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~01cb872390d8ccc3cf
  • Upwork Job ID: 1611228769941909504
  • Last Price Increase: 2023-01-25
@kavimuru kavimuru added Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. labels Jan 4, 2023
@melvin-bot melvin-bot bot locked and limited conversation to collaborators Jan 4, 2023
@adelekennedy
Copy link

@jayeshmangwani what platform are you getting this error on? This looks like a pretty reproducible bug and one we agreed we should solve

@adelekennedy adelekennedy added the External Added to denote the issue can be worked on by a contributor label Jan 6, 2023
@melvin-bot melvin-bot bot unlocked this conversation Jan 6, 2023
@melvin-bot melvin-bot bot changed the title Error message appears when sending 15000 emojis [$1000] Error message appears when sending 15000 emojis Jan 6, 2023
@melvin-bot
Copy link

melvin-bot bot commented Jan 6, 2023

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

@melvin-bot
Copy link

melvin-bot bot commented Jan 6, 2023

Current assignee @adelekennedy is eligible for the External assigner, not assigning anyone new.

@melvin-bot
Copy link

melvin-bot bot commented Jan 6, 2023

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

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

melvin-bot bot commented Jan 6, 2023

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

@adelekennedy adelekennedy removed the External Added to denote the issue can be worked on by a contributor label Jan 6, 2023
@adelekennedy
Copy link

asked clarifying question here before we make this external

@jayeshmangwani
Copy link
Contributor

@jayeshmangwani what platform are you getting this error on?

@adelekennedy desktop

@adelekennedy
Copy link

Chrome? I'm trying to complete the checklist above

@jayeshmangwani
Copy link
Contributor

Yes, gettings errors on macOS chrome and macOS desktop

@getusha
Copy link
Contributor

getusha commented Jan 6, 2023

this might be issue from the backend?

@adelekennedy adelekennedy removed the Help Wanted Apply this label when an issue is open to proposals by contributors label Jan 6, 2023
@adelekennedy
Copy link

@getusha yes! I asked a clarifying question here though I accidentally added 'external' too soon!

@stitesExpensify stitesExpensify added Weekly KSv2 and removed Daily KSv2 labels Jan 6, 2023
@mollfpr
Copy link
Contributor

mollfpr commented Jan 9, 2023

@adelekennedy I think we are looking for external approach?

@adelekennedy adelekennedy added the External Added to denote the issue can be worked on by a contributor label Jan 9, 2023
@melvin-bot
Copy link

melvin-bot bot commented Jan 9, 2023

Current assignee @adelekennedy is eligible for the External assigner, not assigning anyone new.

@melvin-bot melvin-bot bot added Daily KSv2 and removed Weekly KSv2 labels Jan 9, 2023
@stitesExpensify
Copy link
Contributor

Thank you both for your clarification and honesty. In that case, @redstar504 will receive the full payout

@melvin-bot melvin-bot bot added Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Daily KSv2 labels Feb 8, 2023
@melvin-bot melvin-bot bot changed the title [$4000] Error message appears when sending 15000 emojis [HOLD for payment 2023-02-15] [$4000] Error message appears when sending 15000 emojis Feb 8, 2023
@melvin-bot melvin-bot bot removed the Reviewing Has a PR in review label Feb 8, 2023
@MelvinBot
Copy link

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

@MelvinBot
Copy link

MelvinBot commented Feb 8, 2023

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

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

@MelvinBot
Copy link

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:

  • [@mollfpr / @stitesExpensify] The PR that introduced the bug has been identified. Link to the PR:
  • [@mollfpr / @stitesExpensify] 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:
  • [@mollfpr / @stitesExpensify] 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:
  • [@redstar504] Propose regression test steps to ensure the same bug will not reach production again.
  • [@adelekennedy] Link the GH issue for creating/updating the regression test once above steps have been agreed upon:

@redstar504
Copy link
Contributor

Regression Test Proposal

  • Bug: Submitting 15,000 emojis results in an auth error
  • Underlying cause: Emojis and other non-ASCII characters are not counted properly on the front-end
  • Proposed Test Steps:
    • Go to URL https://staging.new.expensify.com/ and login with any account
    • Navigate to any conversation and focus on the compose box
    • Paste a comment containing 1,251 (or more) emojis — copy below
    • The send button should be disabled and should prevent you from sending the comment
    • The composer should display a red outline and the character counter should be displayed in red
    • Remove one emoji so you are left with 1,250 emojis, and submit using the send button
    • Your message should be sent successfully
    • Confirm on the participant's account that the message was received
    • Repeat the process for editing a comment
    • Ensure the enter key will not submit a new or edited comment when the character limit is exceeded

1251 Emojis:

😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄😄
  • Additional Testing Steps:

    • Exceed the comment limit with any text
    • Confirm that the comment counter increases the character count by the corresponding amount:
    • Character Counted As
      a 1
      8 1
      $ 1
      ¢ 6
      © 6
      🤨 12
      👻 12
      😶‍🌫️ 36
      👩‍👩‍👦‍👦 66
  • Do we agree 👍 or 👎

@melvin-bot melvin-bot bot added Daily KSv2 and removed Weekly KSv2 labels Feb 15, 2023
@mollfpr
Copy link
Contributor

mollfpr commented Feb 16, 2023

@stitesExpensify I don't think there's any commit in E/App that cause this issue, probably some things that we haven't thought about on how BE handles the text sent from E/App.

@redstar504 Any thoughts on PR that causing this issue?

@redstar504
Copy link
Contributor

redstar504 commented Feb 16, 2023

@mollfpr It seems like more of a feature improvement than a bug. There wouldn't be a specific PR that caused it.

@mollfpr
Copy link
Contributor

mollfpr commented Feb 17, 2023

@stitesExpensify Do you have other thoughts? I believe we don’t need to add a new checklist because the regression test will catch the same issue.

@mollfpr
Copy link
Contributor

mollfpr commented Feb 18, 2023

Bump @stitesExpensify @adelekennedy

@melvin-bot melvin-bot bot added the Overdue label Feb 20, 2023
@stitesExpensify
Copy link
Contributor

Sorry for the delay, I agree that we don't need to add a new checklist @mollfpr

@melvin-bot melvin-bot bot removed the Overdue label Feb 20, 2023
@mollfpr
Copy link
Contributor

mollfpr commented Feb 20, 2023

@adelekennedy Should we issue the payment here? Thanks!

@adelekennedy
Copy link

Yes! Seems like we're g2g without the full checklist. Sending payment to @mollfpr and @redstar504 and @jayeshmangwani for reporting!

@adelekennedy
Copy link

@mollfpr @jayeshmangwani will you apply here?

@mollfpr
Copy link
Contributor

mollfpr commented Feb 21, 2023

@adelekennedy submitted!

@mollfpr
Copy link
Contributor

mollfpr commented Feb 21, 2023

@adelekennedy accepted the offer!

@adelekennedy
Copy link

Sent all payments!

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 Reviewing Has a PR in review
Projects
None yet
Development

No branches or pull requests