[Koha-bugs] [Bug 28317] New: CGI::Session::Serialize::yaml needs either YAML::Syck or YAML

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue May 11 12:38:07 CEST 2021


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

            Bug ID: 28317
           Summary: CGI::Session::Serialize::yaml needs either YAML::Syck
                    or YAML
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: major
          Priority: P5 - low
         Component: Architecture, internals, and plumbing
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: julian.maurice at biblibre.com
        QA Contact: testopia at bugs.koha-community.org
                CC: dcook at prosentient.com.au,
                    jonathan.druart+koha at gmail.com,
                    joonas.kylmala at helsinki.fi, josef.moravec at gmail.com,
                    kyle at bywatersolutions.com, m.de.rooy at rijksmuseum.nl,
                    martin.renvoize at ptfs-europe.com,
                    nick at bywatersolutions.com, tomascohen at gmail.com,
                    victor at tuxayo.net

Recently we replaced every use of YAML::Syck or YAML by YAML::XS, and removed
YAML::Syck and YAML from cpanfile.
But we use CGI::Session::Serialize::yaml which does not work with YAML::XS and
need either YAML::Syck or YAML

So we shoud either:
1) Reintroduce one of YAML or YAML::Syck into cpanfile, or
2) Use a different serializer, or
3) Implement in Koha a serializer that use YAML::XS (should be easy, look at
https://metacpan.org/release/CGI-Session-Serialize-yaml/source/lib/CGI/Session/Serialize/yaml.pm)

Which one do you prefer ?

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


More information about the Koha-bugs mailing list