[Koha-bugs] [Bug 19328] New: Internal server error because of missing currency
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Sep 15 23:15:52 CEST 2017
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19328
Bug ID: 19328
Summary: Internal server error because of missing currency
Change sponsored?: ---
Product: Koha
Version: 17.05
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P5 - low
Component: Acquisitions
Assignee: koha-bugs at lists.koha-community.org
Reporter: mik at adminkuhn.ch
QA Contact: testopia at bugs.koha-community.org
When clicking "Budgets" or "Funds" in Koha menu "Administration > Acquisition
parameters" just a blank page does appear, saying "Internal server error".
When clicking "Budgets" the log file "plack-error.log" says:
Can't call method "symbol" on an undefined value at
/usr/share/koha/intranet/cgi-bin/admin/aqbudgetperiods.pl line 94.
When clicking "Funds" it says:
Can't call method "symbol" on an undefined value at
/usr/share/koha/intranet/cgi-bin/admin/aqbudgets.pl line 53.
For example, line 94 of script "aqbudgetperiods.pl" says:
$template->param( symbol => $active_currency->symbol,
currency => $active_currency->currency
So this happens when no activated currency exists (for example when no example
currency was loaded). Instead of showing "Internal Server Error" Koha should
tell about the missing activated currency.
This was experienced in Koha 16.11.1 as well as in Koha 17.05.1.
--
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
More information about the Koha-bugs
mailing list