]> 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)
committerMason James <mtj@kohaaloha.com>
Thu, 26 Feb 2015 04:57:43 +0000 (17:57 +1300)
commit081ce4ba27ec032e70a57d7f056e8aaa23490542
treeba33c6ed5cc3b94f8739b975adcd2f0bc30921d6
parent8705cb845ef78c5e941a7a1ee8765fdd8cc40e8b
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: Mason James <mtj@kohaaloha.com>
Koha/Cache.pm