Summary: | Koha ILL backends directory is not included in @INC | ||
---|---|---|---|
Product: | Koha | Reporter: | Nick Clemens (kidclamp) <nick> |
Component: | ILL | Assignee: | Bugs List <koha-bugs> |
Status: | RESOLVED WONTFIX | QA Contact: | |
Severity: | normal | ||
Priority: | P5 - low | CC: | aspencatteam, martin.renvoize, pedro.amorim, tomascohen |
Version: | Main | ||
Hardware: | All | ||
OS: | All | ||
GIT URL: | Change sponsored?: | --- | |
Patch complexity: | --- | Documentation contact: | |
Documentation submission: | Text to go in the release notes: | ||
Version(s) released in: | Circulation function: | ||
Bug Depends on: | 19605 | ||
Bug Blocks: |
Description
Nick Clemens (kidclamp)
2019-09-09 21:06:25 UTC
Currently, you need to define in koha-conf.xml the path: <backend_directory>__PERL_MODULE_DIR__/Koha/Illbackends</backend_directory> on this hybrid plugin/ILL backend: https://gitlab.com/thekesolutions/plugins/koha-plugin-innreach my approach has been to generate directories for both: Koha/Illbackends Koha/Plugin/Com/Theke/INNReach* they are packaged together. And then on koha-conf.xml I only need to put: <backend_directory>/var/lib/koha/plugins/Koha/Illbackends</backend_directory> We should try it with more than one backend. (In reply to Tomás Cohen Arazi from comment #1) > > <backend_directory>/var/lib/koha/plugins/Koha/Illbackends</backend_directory> I meant this: <backend_directory>/var/lib/koha/<instance>/plugins/Koha/Illbackends</backend_directory> Does this still require a fix? We have discussed moving the backends to be traditional Koha plugins, then Tomas' solution works well. We have been using a version of the Koha-2-koha plugin that functions this way and that has been a good workaround. If we want to support the plugins as-is then this should be addressed I am adding 19605 as a dependency. Adding my suggestion at https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19605#c9 to this discussion. After 19605 is pushed, we support both ways of loading ILL backends (old backend_dir way and this new plugin way) for a while (1 year? 2 years?) and after that period we deprecate the old backend_dir way of doing things. This is no longer an issue. |