mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #60550
[Bug 1898762] A change has been merged
Reviewed: https://reviews.mahara.org/11366
Committed: https://git.mahara.org/mahara/mahara/commit/40f8911ea175db6fdae896e6847b29d449658b92
Submitter: Robert Lyon (robertl@xxxxxxxxxxxxxxx)
Branch: 19.10_STABLE
commit 40f8911ea175db6fdae896e6847b29d449658b92
Author: Octavio Jr <unknown>
Date: Wed Oct 14 12:15:55 2020 +1300
Bug 1898762: Adjusting test for memcached servers
Change-Id: I8a363b1da74f136533584a87178aab38371a910b
Signed-off-by: Robert Lyon <robertl@xxxxxxxxxxxxxxx>
(cherry picked from commit c6d9850f1915c390126f768c7cd6f65f9ad844c9)
(cherry picked from commit f1d45474d2315f3a74f04dde474561851a861e24)
(cherry picked from commit b1cb3b3b726904496eb049131e5629fa25ea379f)
--
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1898762
Title:
Regression memcached servers
Status in Mahara:
Fix Committed
Status in Mahara 19.10 series:
Fix Committed
Status in Mahara 20.04 series:
Fix Committed
Status in Mahara 20.10 series:
Fix Committed
Bug description:
Analising mahara 20.04.1 I see and regression on here :
https://github.com/MaharaProject/mahara/blob/20.04_STABLE/htdocs/auth/lib.php#L681
Instead of this
if (empty($server_version[$host . ':' . $port])) {
$is_configured = false;
}
It should be this :
if (!empty($server_version[$host . ':' . $port])) {
$is_configured = true;
}
I tried to configured a memcached server and had an erreur as settings memcacheservers weren't set.
In the code since $is_configured is already false, we have to invert
the logic to see if a server is configured or not.
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1898762/+subscriptions
References