[Koha-bugs] [Bug 11842] MARC framework editing is broken when memcache is enabled
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Mon Jul 21 11:18:38 CEST 2014
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11842
Jonathan Druart <jonathan.druart at biblibre.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #28414|0 |1
is obsolete| |
--- Comment #7 from Jonathan Druart <jonathan.druart at biblibre.com> ---
Created attachment 29917
-->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=29917&action=edit
Bug 11842 - fix framework caching with memcache/plack
This changes the existing framework caching, which was using memoisation
if memcached was available, and memory in all cases, to use the
Koha::Cache system. This uses memcache if possible, and in-memory
otherwise. However it also clears the cache when the framework updates,
making sure that the changed version will be picked up.
Note that the in-memory cache clears itself after 10 seconds, so that if
memcached isn't available, this is the longest that old versions will
hang around.
Test plan:
* work through
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11842#c0
and make sure that the erronious result doesn't occur.
Note:
* The patch on bug 12041 is required for this to work.
Signed-off-by: Brendan Gallagher <brendan at bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart at biblibre.com>
I confirm the issue and that this patch fixes it!
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list