]> 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)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Wed, 11 Feb 2015 13:18:56 +0000 (10:18 -0300)
commitdbf0b358b9362fdf634b47569b1777d7034b17a9
tree8ccf9146f74435731b0b727aaf4aec01b3252659
parent9e701294dd6ccf4fa5d8b24d1a7da15be353992e
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>
Koha/Cache.pm