[Koha-bugs] [Bug 29806] New: ->pickup_locations should always be called in scalar context
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu Jan 6 11:45:35 CET 2022
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29806
Bug ID: 29806
Summary: ->pickup_locations should always be called in scalar
context
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: tomascohen at gmail.com
QA Contact: testopia at bugs.koha-community.org
The Koha::{Biblio|Item}->pickup_locations methods internally use
Koha::Libraries->empty, which doesn't honour list context (bug 28871). When
called in list context, if the Koha::Libraries resultset was built using
->empty, then things will explode, as exposed by bug 29804.
--
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