[Koha-bugs] [Bug 32747] New: OPAC detail page explodes for items without itemtype

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Jan 30 17:02:23 CET 2023


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

            Bug ID: 32747
           Summary: OPAC detail page explodes for items without itemtype
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: major
          Priority: P5 - low
         Component: OPAC
          Assignee: oleonard at myacpl.org
          Reporter: katrin.fischer at bsz-bw.de
        QA Contact: testopia at bugs.koha-community.org

When there is an item without itemtype the OPAC detail page explodes:

Error trace

Can't call method "itemtype" on an undefined value at
/usr/share/koha/opac/cgi-bin/opac/opac-detail.pl line 713


I know we agreed not to fix this everywhere, but I think there is definitely a
need to fix it in this very spot, because it's on a main page in the OPAC. 


One thing that can cause this: We just very recently made itemtype mandatory on
the acq item form. On order items often had no itemtypes in the past and it was
not a problem. Libraries would assign the itemtype on delivery/receive,
avoiding any issues in circulation. There might be quite a lot of those 'in the
wild'.

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


More information about the Koha-bugs mailing list