[Bug 11998] Syspref caching issues
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11998 --- Comment #117 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- (In reply to Jacek Ablewicz from comment #114)
I'm unable to test this patch set with fastmmap caching system - it seems to break it somehow.. With patch, and fastmmap cache enabled, anything (?) that uses Koha::Cache results with:
Use of uninitialized value $db_name in concatenation (.) or string at /home/koha/devkohaclone/Koha/Database.pm line 73. Use of uninitialized value $db_host in concatenation (.) or string at /home/koha/devkohaclone/Koha/Database.pm line 73. DBI connect('database=;host=;port=','',...) failed: Access denied for user 'koha'@'localhost' (using password: NO) at /usr/share/perl5/DBIx/Class/Storage/DBI.pm line 1249 DBIx::Class::Storage::DBI::dbh(): DBI Connection failed: Access denied for user 'koha'@'localhost' (using password: NO) at /usr/share/perl5/DBIx/Class/Storage/DBI.pm line 1253. at /home/koha/devkohaclone/Koha/Database.pm line 90
To reproduce (on command line)
0) ensure that you have fastmmap perl module installed (libcache-fastmmap-perl in debian) 1) apply patch (without patch: no error in current master) 2) export CACHING_SYSTEM=fastmmap 3) export GATEWAY_INTERFACE=1 4) try to run this simple script:
#!/usr/bin/perl
use Modern::Perl; use C4::Biblio; GetMarcStructure();
It works if I revert commit 9e701294dd6ccf4fa5d8b24d1a7da15be353992e Bug 13431 - Shared FastMmap file causes issues No idea why! -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org