[Bug 29793] New: Commenting "listen" biblioserver in KOHA_CONF crashes about.pl
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29793 Bug ID: 29793 Summary: Commenting "listen" biblioserver in KOHA_CONF crashes about.pl Change sponsored?: --- Product: Koha Version: unspecified Hardware: All OS: All Status: NEW Severity: minor Priority: P5 - low Component: Searching - Zebra Assignee: koha-bugs@lists.koha-community.org Reporter: lari.taskula@hypernova.fi To replicate: 1. Comment out or delete <listen id="biblioserver">...</listen> from your Koha config file 2. Navigate to staff client /cgi-bin/koha/about.pl 3. Observe error 500 4. Check error logs, see Can't use an undefined value as a HASH reference at C4/Context.pm line 536. Question: If you are using ElasticSearch, is it still necessary to have Zebra related configurations in KOHA_CONF? Bug appears after Bug 28306 commit 4605304f62228172be094393875625b1e9666bda -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29793 --- Comment #1 from Lari Taskula <lari.taskula@hypernova.fi> --- (In reply to Lari Taskula from comment #0)
Can't use an undefined value as a HASH reference at C4/Context.pm line 536.
The correct line as of 442fb97155285ff4063cdd6279328ebed62ea6d4 is 534 not 536. -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29793 Fridolin Somers <fridolin.somers@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fridolin.somers@biblibre.co | |m --- Comment #2 from Fridolin Somers <fridolin.somers@biblibre.com> --- I'd say we move this code into the eval: my $host = _common_config($server, 'listen')->{content}; my $serverinfo = _common_config($server, 'serverinfo'); my $user = $serverinfo->{user}; my $password = $serverinfo->{password}; -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org