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: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]
  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.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to