[Koha-bugs] [Bug 10872] New: C4::Items.pm has YAML::Load in GetHiddenItems but lacks use or require

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Sep 10 22:13:21 CEST 2013


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10872

            Bug ID: 10872
           Summary: C4::Items.pm has YAML::Load in GetHiddenItems but
                    lacks use or require
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: Architecture, internals, and plumbing
          Assignee: gmcharlt at gmail.com
          Reporter: mtompset at hotmail.com
        QA Contact: testopia at bugs.koha-community.org

I believe the description covers it all. There is no testing, except does
anything using C4::Items still work?

There should be a:
"require YAML;"
or
"use YAML qw/Load/;"

as the GetHiddenItems routine has a reference to YAML::Load.

This was discovered while adding GetHiddenItems() calls into
opac/opac-MARCdetail.pl. I believe this problem dates back to bug 6488 or bug
5984.

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


More information about the Koha-bugs mailing list