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: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]

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.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://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