Bug 41897

Summary: Remove C4::Context from Koha::Objects::Limit::Library
Product: Koha Reporter: Jonathan Druart <jonathan.druart>
Component: Architecture, internals, and plumbingAssignee: Bugs List <koha-bugs>
Status: In Discussion --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low    
Version: unspecified   
Hardware: All   
OS: All   
GIT URL: Initiative type: ---
Sponsorship status: --- Comma delimited list of Sponsors:
Crowdfunding goal: 0 Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:
Bug Depends on: 41895    
Bug Blocks:    
Attachments: Bug 41897: Remove C4::Context from Koha::Objects::Limit::Library

Description Jonathan Druart 2026-02-20 10:18:38 UTC
It's causing circ deps with (at least) Koha::AuthorisedValues.

Can't locate object method "get_instance" via package "Koha::Caches" at /kohadevbox/koha/Koha/AuthorisedValue.pm line 33.
Comment 1 Jonathan Druart 2026-02-20 10:25:41 UTC
Created attachment 193512 [details] [review]
Bug 41897: Remove C4::Context from Koha::Objects::Limit::Library

Patch from commit b0b0397