Emoji adder issue

I think there is a bug in the emoji adder.

I’m using Discourse 2.5.0.beta4 and Firefox 76 on Linux. (I do not have a “desktop” on Linux and have no where I can “drag” files from for “drag and drop”.)

I go to the emoji customization page https://example.com/admin/customize/emojis

  1. I type in the name of my new emoji.
  2. I click “:heavy_plus_sign: Add New Emoji”.
  3. The browser gives me a file picker.
  4. I pick a file, and click the “open” button in the file picker.
  5. The image uploads.
  6. The emoji is added to the forum.

I go to add a second one, repeating that same process from step 1 on that same page. Except it never uploads, seemingly returning me to the state just before step 2.

If I use the browser reload button the emoji customization page resets and then I can upload another one.

3 Likes

Perhaps there are some new regressions here we should look at Monday @zogstrip?

2 Likes

@nbianca can you add to your list to ensure the :heavy_plus_sign: button supports adding several emojis consecutively without requiring a full reload of the page?

3 Likes

@joffreyjaffeux lol at the huuuge emoji

4 Likes

This bug was caused by an interoperability error between Ember and jQuery-File-Upload. I found a work around for this bug:

https://github.com/discourse/discourse/pull/9888

5 Likes

This topic was automatically closed after 5 days. New replies are no longer allowed.

FYI, this was just merged!

3 Likes