[Koha-bugs] [Bug 23608] New: Koha::Objects::Limit::Library->get_library_limits can return undef

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Sep 13 16:01:54 CEST 2019


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

            Bug ID: 23608
           Summary: Koha::Objects::Limit::Library->get_library_limits can
                    return undef
 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: martin.renvoize at ptfs-europe.com
        QA Contact: testopia at bugs.koha-community.org

The get_library_limits routine within Koha::Objects::Limit::Library can return
either a Koha::Libraries set or undef at present.

As this is often part of a method chain we should drop the requirement to
always check for undef in the return and instead ensure we return an unfiltered
Koha::Libraries set which can be relied upon in subsequent method chaining.

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