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

Unexpected label "smileysAndEmotions" instead of emoji when reacting #15786

Closed
1 of 6 tasks
aldo-expensify opened this issue Mar 9, 2023 · 10 comments
Closed
1 of 6 tasks
Assignees
Labels
Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2

Comments

@aldo-expensify
Copy link
Contributor

If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!


Action Performed:

Break down in numbered steps

  1. I sent a thumb up as a message
  2. The other user reacted to my message giving a thumb up
  3. I reacted to my own message giving a thumb up

Expected Result:

I would have expected the thumbup count to go up

Actual Result:

Label smileysAndEmotion is visible

image

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:
Reproducible in staging?:
Reproducible in production?:
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
Expensify/Expensify Issue URL:
Issue reported by:
Slack conversation:

View all open jobs on GitHub

@aldo-expensify aldo-expensify added Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. labels Mar 9, 2023
@melvin-bot melvin-bot bot locked and limited conversation to collaborators Mar 9, 2023
@MelvinBot
Copy link

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

@MelvinBot
Copy link

MelvinBot commented Mar 9, 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

@aldo-expensify
Copy link
Contributor Author

If you need the Onyx data for the reportActions involved let me know

@stitesExpensify
Copy link
Contributor

@stitesExpensify
Copy link
Contributor

I'll be taking this on internally FYI

@stitesExpensify
Copy link
Contributor

@aldo-expensify helped me test this locally and we found that the emoji object when clicked here does not have a name field, which makes it pass undefined to the served
image

looking into why that is happening now

@stitesExpensify
Copy link
Contributor

cc @hannojg

@stitesExpensify
Copy link
Contributor

Okay so the reason I can't repro locally, and that we didn't find it while testing, is that apparently some time in the past we didn't save names with frequently used.

So the solution will be:

  1. Update the updateFrequentlyUsedEmoji method in PHP to make sure we are only saving with a name, and log if we are not to prevent this from happening again
  2. Run a DB query to either:
    • Update all of the nvp.name = expensify_frequentlyUsedEmojis values to have the name
    • Delete all frequently used and have people start over

@stitesExpensify
Copy link
Contributor

@stitesExpensify
Copy link
Contributor

This is fixed! You may need to refresh the page, or sign out and back in to see the fix

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2
Projects
None yet
Development

No branches or pull requests

4 participants