[Koha-bugs] [Bug 32132] New: Missing budget_period_id in aqbudgets kills lateorders.pl

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Nov 8 12:59:29 CET 2022


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32132

            Bug ID: 32132
           Summary: Missing budget_period_id in aqbudgets kills
                    lateorders.pl
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: Acquisitions
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: emmi.takkinen at koha-suomi.fi
        QA Contact: testopia at bugs.koha-community.org

If column budget_period_id in aqbudgets table is NULL lateorders.pl, Koha dies
on error 500. Logs read:

Template process failed: undef error - DBIC result _type  isn't of the _type
Aqbudget at
/home/koha/Koha/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/lateorders.tt
line 157. 

Of course solution for this is to fix missing values, but I think we should
still prevent Koha dying on this.

-- 
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