[Koha-bugs] [Bug 21537] New: Regression in #19289: typo in acquisitions template processor name

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Oct 10 16:50:01 CEST 2018


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

            Bug ID: 21537
           Summary: Regression in #19289: typo in acquisitions template
                    processor name
 Change sponsored?: ---
           Product: Koha
           Version: 18.05
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Templates
          Assignee: oleonard at myacpl.org
          Reporter: oliver.behnke at aei.mpg.de
        QA Contact: testopia at bugs.koha-community.org

Hi,

we just ran across the following error when creating a new book order based on
a suggestion:

> Template process failed: file error - options_for_itemtypes: not found at /usr/share/koha/lib/C4/Templates.pm line 122

Investigating the problem I found a regression in #19289 where a new template
processor called "options_for_item_types" got added to
intranet-tmpl/prog/en/includes/html_helpers.inc. However, in
intranet-tmpl/prog/en/modules/acqui/neworderempty.tt it's called as
"options_for_itemtypes". Note the missing underscore in "itemtypes".

Cheers

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list