[Koha-bugs] [Bug 24760] New: BackgroundJob tests fail with latest versions of YAML or YAML::Syck

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Feb 28 14:11:58 CET 2020


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

            Bug ID: 24760
           Summary: BackgroundJob tests fail with latest versions of YAML
                    or YAML::Syck
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          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

YAML 1.30 and YAML::Syck 1.32 introduce a breaking change : they won't bless
loaded objects by default, and t/db_dependent/BackgroundJob.t fail when this
feature is disabled.

I don't know this module very well, but I think that the tests are broken.
C4::BackgroundJob::fetch already bless the object returned from
$session->param, so we don't need to test that $session->param returns a
blessed object.

-- 
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