Rocket.Chat icon indicating copy to clipboard operation
Rocket.Chat copied to clipboard

Renaming custom emojis breaks image

Open EnCz opened this issue 5 years ago • 6 comments

Description:

After renaming an emoji the image is still visible in Administration but in chat only a little question mark appears.

Steps to reproduce:

  1. Go to 'Custom Emojis' in Administration
  2. Create new emoji with name 'foo'
  3. Write ':foo:' in chat -> Emoji shows
  4. Go to 'Custom Emojis' in Administration and change name to 'bar'
  5. Write ':bar:' in chat

Expected behavior:

Emoji shows

Actual behavior:

Little question mark placeholder shows

Additional context

If I upload the image again when renaming and then save the emoji it works as intended.

Server Setup Information:

  • Version of Rocket.Chat Server: 3.5.0
  • Operating System: linux
  • Deployment Method: docker
  • Number of Running Instances: 1

Client Setup Information

  • Desktop App or Browser Version: Chrome 84
  • Operating System: Arch Linux

EnCz avatar Aug 06 '20 06:08 EnCz

This maybe is a fundamental problem in Administration and related to: https://github.com/RocketChat/Rocket.Chat/issues/18441 https://github.com/RocketChat/Rocket.Chat/issues/18458 https://github.com/RocketChat/Rocket.Chat/issues/18493

EnCz avatar Aug 06 '20 06:08 EnCz

Seen this as well.

LeeThompson avatar Aug 09 '20 20:08 LeeThompson

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] avatar Oct 09 '20 00:10 github-actions[bot]

This is still a bug in 3.7.0.

Renaming an emoji breaks previous use and new use of the emoji.

(They show a white "?" in a black square).

LeeThompson avatar Oct 09 '20 20:10 LeeThompson

Today I investigated into several problems regarding custom emojis (cf. https://github.com/RocketChat/feature-requests/issues/807, https://github.com/RocketChat/Rocket.Chat/issues/26980).

In that process, I stumbled upon the problem described in this issue as well which still persists in Rocket.Chat 5.1.4:

image

paulchen avatar Sep 29 '22 18:09 paulchen

Is anyone solving this issue? If not, @dudanogueira would you kindly assign this to me?

codewithmitesh avatar Dec 01 '22 05:12 codewithmitesh