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@lists.koha-community.org
          Reporter: m...@adminkuhn.ch
        QA Contact: testo...@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.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to