[Koha-bugs] [Bug 27673] Replace YAML with YAML::XS

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Feb 11 15:30:54 CET 2021


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27673

--- Comment #7 from Kyle M Hall <kyle at bywatersolutions.com> ---
Created attachment 116738
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=116738&action=edit
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 at bywatersolutions.com>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list