[Koha-bugs] [Bug 21846] Using emoji as tags doesn't discriminate between emoji when calculating weights or searching
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Nov 23 21:04:15 CET 2018
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21846
--- Comment #3 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 82622
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=82622&action=edit
Bug 21846: Regression tests for add_tag_approval
Due to collation issues, add_tag_approval wrongly calculates
the weight for strings including extended UNICODE characters.
This patch introduces a test for this situation.
To test:
- Apply this patch on master
- Run:
$ kshell
k$ prove t/db_dependent/Tags.t
=> FAIL: Tests fail because all extended characters match the same
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list