]> git.koha-community.org Git - koha.git/commit
Bug 27673: Fix encoding issues
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 11 Feb 2021 09:37:13 +0000 (10:37 +0100)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 16 Feb 2021 13:54:50 +0000 (14:54 +0100)
commitfafcbff015fe8e7abe31cf8a0668b17d1bc729bb
tree521aaff7ee869a57fcc325c37df181548cf22b25
parent46f7239b08691a34616748db6cc10d18cc4fb16f
Bug 27673: Fix encoding issues

There is a difference between YAML::Load and YAML::XS::Load
From YAML::XS pod:
"YAML::XS only deals with streams of utf8 octets"

Test plan:
We are going to test 1 occurence and QA will confirm others don't
contain typos.
0. Don't apply the patches
1. Create a new itemtype with code=❤️
2. Create a new item using this itemtype (to biblionumber=1 will work)
3. Fill OpacHiddenItems with
 itype: [❤️]
4. Search for "street shuffle" or any terms that will return the biblio
Notice that the item is there (there is an error in logs)
5. Apply the patches
6. Repeat 4 and confirm that the item is now hidden

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Joonas Kylmälä <joonas.kylmala@helsinki.fi>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
C4/Circulation.pm
C4/Context.pm
C4/Items.pm
C4/Record.pm
C4/Ris.pm
Koha/Filter/MARC/EmbedItems.pm
about.pl
acqui/addorderiso2709.pl
circ/pendingreserves.pl
opac/opac-ISBDdetail.pl
opac/opac-search.pl