[Koha-bugs] [Bug 15743] New: Allow plugins to embed Perl modules

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Feb 4 17:52:19 CET 2016


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

            Bug ID: 15743
           Summary: Allow plugins to embed Perl modules
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: ASSIGNED
          Severity: minor
          Priority: P5 - low
         Component: Architecture, internals, and plumbing
          Assignee: julian.maurice at biblibre.com
          Reporter: julian.maurice at biblibre.com
        QA Contact: testopia at bugs.koha-community.org

Actually if a plugin comes with several .pm files, they are all treated as
separate plugins, and Koha::Plugins die if one of these modules doesn't contain
a 'new' subroutine.

Can't locate object method "new" via package "Koha::Plugin::XXX::YYY::..."
(perhaps you forgot to load "Koha::Plugin::XXX::YYY::..."?) at
/home/koha/src/Koha/Plugins.pm line 66.

It may be useful to have several .pm files to organize code

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


More information about the Koha-bugs mailing list