]> git.koha-community.org Git - koha.git/commit
Bug 13431 [QA Follow-up]: Shared FastMmap file causes issues
authorJacek Ablewicz <abl@biblos.pk.edu.pl>
Tue, 30 Dec 2014 09:30:30 +0000 (10:30 +0100)
committerChris Cormack <chris@bigballofwax.co.nz>
Sat, 14 Feb 2015 07:37:16 +0000 (20:37 +1300)
commitfa74808736d9aea8df6fff1bf9e146c62d95046c
treee8dfd5d9d7acf936b4938837fcfe2368a6f6e603
parent38663a4af3e4bbb43a46d0f723cb243dc30eba5e
Bug 13431 [QA Follow-up]: Shared FastMmap file causes issues

1) Removed 'use C4::Context;' because it can lead to introduction
of circular reference in the near future
2) Put fastmmap initialization code into an eval {} block, to catch
various kinds of errors which can still occur during it's init in
some [less usual] Koha setups and/or more unusual circumstances
3) Do not include UID in the sharefile name (it will be constructed
using namespace + database name + database host instead).

Test plan addendum:

   s/and UID//

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
(cherry picked from commit dbf0b358b9362fdf634b47569b1777d7034b17a9)
Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
Koha/Cache.pm