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

            Bug ID: 26163
           Summary: Add plugin directories to PERL5LIB
 Change sponsored?: ---
           Product: Koha
           Version: master
          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]

It would be nice if we could create Koha objects and schema files to be used in
plugins. The problem is that by the time the 
Plugin directories are added to @INC only at the point that Koha::Plugins is
evaluated. This is too late for loading additional Schema files that may be
part of a plugin.

In addition, it makes sense to allow plugins to have a 'lib' directory so that
any additional object and schema files can be stored inside the plugin assets
directory and not pollute the root plugins directory. Without such a 'lib'
directory, we would need to place them in the plugins directory such as
'/var/lib/koha/instancename/plugins/Koha/MyObject.pm'. This file would not be
removed when the plugin is uninstalled.

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://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