[Koha-bugs] [Bug 18872] New: Clicking "Place hold" on catalogue/ detail.pl triggers software error if any items have NULL homebranch

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Jun 28 13:47:39 CEST 2017


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

            Bug ID: 18872
           Summary: Clicking "Place hold" on catalogue/detail.pl triggers
                    software error if any items have NULL homebranch
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: Hold requests
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: barton at bywatersolutions.com
        QA Contact: testopia at bugs.koha-community.org
                CC: gmcharlt at gmail.com

To re-create:

1) Create several items. Set homebranch to NULL on one of the items.
2) Go to the detail page for the bib record. Click "Place Hold".
3) This will trigger a software error. Here are the results from the logs:

Use of uninitialized value in hash element at
/usr/share/koha/intranet/cgi-bin/reserve/request.pl line 362.
Use of uninitialized value in hash element at
/usr/share/koha/intranet/cgi-bin/reserve/request.pl line 363.
Use of uninitialized value in string ne at
/usr/share/koha/intranet/cgi-bin/reserve/request.pl line 368.
Use of uninitialized value in string ne at
/usr/share/koha/intranet/cgi-bin/reserve/request.pl line 368.
item-level_itypes set but no itemtype set for item (762357) at
/usr/share/koha/lib/Koha/Schema/Result/Item.pm line 698.
No homebranch at /usr/share/koha/lib/C4/Reserves.pm line 2121.

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