[Koha-bugs] [Bug 23152] New: koha_object[s]_class methods must be implemented when needed
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed Jun 19 04:41:53 CEST 2019
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23152
Bug ID: 23152
Summary: koha_object[s]_class methods must be implemented when
needed
Change sponsored?: ---
Product: Koha
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P5 - low
Component: Architecture, internals, and plumbing
Assignee: koha-bugs at lists.koha-community.org
Reporter: jonathan.druart at bugs.koha-community.org
QA Contact: testopia at bugs.koha-community.org
Target Milestone: ---
We should implement koha_object_class and koha_objects_class for all our
modules.
For instance we cannot do Koha::Hold->get_from_storage from tests, it will
result in the following error:
Can't locate object method "_new_from_dbic" via package "Koha::Reserve"
(perhaps you forgot to load "Koha::Reserve"?) at
/home/vagrant/kohaclone/Koha/Object.pm line 267.
--
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