[Bug 36238] New: C4::Context->preference doesn't cache values for non-existent sysprefs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36238 Bug ID: 36238 Summary: C4::Context->preference doesn't cache values for non-existent sysprefs Change sponsored?: --- Product: Koha Version: master Hardware: All OS: All Status: NEW Severity: minor Priority: P5 - low Component: Architecture, internals, and plumbing Assignee: koha-bugs@lists.koha-community.org Reporter: dcook@prosentient.com.au QA Contact: testopia@bugs.koha-community.org If you try to look up a system preference that doesn't exist, C4::Context won't cache a value for it. Overall, it is logical not to cache a system preference that doesn't exist in the systempreferences database table. However, maybe you distribute a plugin or template which uses a local system preference, and it only exists in some systems. On the systems missing the preference, you'll be doing a database call every time instead of using the cached value of nothing. This is suboptimal from a performance perspective. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org