From f9dd77cfab2c02ce7644a454612b40ec3b5627aa Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Wed, 12 Feb 2020 15:24:35 +0100 Subject: [PATCH] Bug 24642: Make Cache::Memcached::Fast::Safe required There is something wrong between the logic in Koha::Cache->new and our dependencies. We are having Cache::Memcached required, but Cache::Memcached::Fast::Safe is optional. However, in Koha::Cache->new we are initializing the Memcached cache only if Cache::Memcached::Fast::Safe is installed. We could fix the logic in Koha::Cache, but it seems better to make Cache::Memcached::Fast::Safe mandatory (especially after bug 13193). Note that after bug 13193, you are loosing the Memcached cache, as Cache::Memcached::Fast::Safe will not get installed by default. Signed-off-by: Julian Maurice Signed-off-by: Martin Renvoize --- C4/Installer/PerlDependencies.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/C4/Installer/PerlDependencies.pm b/C4/Installer/PerlDependencies.pm index 9f1db97be7..5c1acfc7c5 100644 --- a/C4/Installer/PerlDependencies.pm +++ b/C4/Installer/PerlDependencies.pm @@ -264,7 +264,7 @@ our $PERL_DEPS = { }, 'Cache::Memcached::Fast::Safe' => { 'usage' => 'Caching', - 'required' => '0', + 'required' => '1', 'min_ver' => '0.06' }, 'Cache::FastMmap' => { -- 2.39.5