Bug 21247 - Cannot add more than one emoji across the entire database as a tag
Summary: Cannot add more than one emoji across the entire database as a tag
Status: RESOLVED DUPLICATE of bug 21846
Alias: None
Product: Koha
Classification: Unclassified
Component: Staff interface (show other bugs)
Version: master
Hardware: All All
: P5 - low normal (vote)
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-08-19 23:52 UTC by Liz Rea
Modified: 2019-02-27 01:46 UTC (History)
4 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Liz Rea 2018-08-19 23:52:10 UTC
Well I suppose that's not really fair - you can add them but you can only see the first one in the approval list, and on the detail/results pages.

To replicate:

Add a tag, such as ๐Ÿ˜ to a biblio in the OPAC

try to add another emoji, such as ๐ŸŽถ

In my 18.05, this won't work and the second tag is never inserted into tags_approval, though it is inserted into tags_all. It seems to be mysteriously approved as under the first emoji added, as well. 

I checked the DB encoding, it seemed correct. The database I was testing with was an upgraded one, 3.20 -> 18.05.02
Comment 1 Liz Rea 2018-08-20 03:00:39 UTC
Further to this:

if you try to add one emoji, then another different single emoji, it won't do it. But if you tag with two, it will work. But then if you try another set of (different) two emoji, it won't save it, and so on.

It's like it doesn't see the emoji as unique characters and the strings only become detectably unique once more characters are added.

You *can* add the same single emoji that initially saved to a different record, and increment the count for records with that tag. That works fine.
Comment 2 Martin Renvoize 2018-10-08 11:11:09 UTC
Also appears in master.
Comment 3 Katrin Fischer 2019-02-10 12:48:16 UTC
Retested, still an issue. Adding Tomas.
Comment 4 Tomรกs Cohen Arazi 2019-02-27 01:46:25 UTC
Please QA 21846 and this will be history.

*** This bug has been marked as a duplicate of bug 21846 ***