https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39092 Bug ID: 39092 Summary: When loading an ILL backend plugin it should be cached Change sponsored?: --- Product: Koha Version: Main Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 - low Component: Architecture, internals, and plumbing Assignee: koha-bugs@lists.koha-community.org Reporter: tomascohen@gmail.com QA Contact: testopia@bugs.koha-community.org When `load_backend()` is called, one of the first things it does is instantiating the backend plugin if required, in order to call its `new_ill_backend()` method. We should be storing the `$plugin` object in case we need it. A paradigmatic case is the `expand_template()` method, which calls `_backend()` (which internally calls `load_backend()`, and then queries for the plugin again in order to call a plugin method. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.