https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18232

--- Comment #4 from Olli-Antti Kivilahti <[email protected]> ---
Created attachment 68468
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=68468&action=edit
Bug 18232 - Koha::Cache::flush - Simply flush all caches - Squashable1, fix
pesky syspref cache issue

After flushing Koha::Caches this flush() also removed the references to the
singleton caches, forcing
reinstating the cache connection.

C4::Context had a hard-coded package variable referencing to the sysprefs
cache.
After flushing for the first time, the reference to the syspref cache was
severed for Koha::Caches,
but not to the C4::Context syspref cache,
and flushing started to fail because the syspref cache was no longer referenced
from Koha::Caches.

The original change was made to try to get around the memcached cache
expiration issues.
And had this unintended side-effect.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to