[Koha-bugs] [Bug 28317] Remove CGI::Session::Serialize::yaml dependency by using the default serializer

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed May 12 01:56:03 CEST 2021


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

--- Comment #22 from David Cook <dcook at prosentient.com.au> ---
Interestingly, Tina Muller who has taken over CGI::Session::Serialize::yaml is
also the maintainer of YAML::XS. 

Ahhh CGI::Session::Serialize::yaml also has an undocumented feature. If you
look at the source code, you'll see that you can set
$CGI::Session::Serialize::yaml::Flavour to whatever YAML module you want that
can use Dump/Load methods. (Note that you'd have to preload it yourself with
'use' or 'require'.)

So... it looks like CGI::Session::Serialize::yaml can work with YAML::XS.

Personally, it would be awesome if we could retain the use of
CGI::Session::Serialize::yaml. 

I'm going to move this to "In Discussion", but if no one else cares, feel free
to move back to "Passed QA".

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


More information about the Koha-bugs mailing list