Bug 41894

Summary: Bareword "C4::Context::only_my_library" not allowed
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: 41890    
Bug Blocks:    
Attachments: Bug 41894: Remove error 'Bareword C4::Context::only_my_library not allowed'

Description Jonathan Druart 2026-02-20 10:03:46 UTC
Bareword "C4::Context::only_my_library" not allowed while "strict subs" in use at /kohadevbox/koha/Koha/Libraries.pm line 60.
Comment 1 Jonathan Druart 2026-02-20 10:04:25 UTC
When some circ deps are resolved, we see this error... weird!
Comment 2 Jonathan Druart 2026-02-20 10:25:56 UTC
Created attachment 193513 [details] [review]
Bug 41894: Remove error 'Bareword C4::Context::only_my_library not allowed'

Patch from commit 8a302a0