[Koha-bugs] [Bug 19574] New: Wrong itemtype can be chosen when placing holds

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Nov 3 10:39:36 CET 2017


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

            Bug ID: 19574
           Summary: Wrong itemtype can be chosen when placing holds
 Change sponsored?: ---
           Product: Koha
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: Circulation
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: andreas.hedstrom.mace at sub.su.se
        QA Contact: testopia at bugs.koha-community.org
                CC: gmcharlt at gmail.com, kyle.m.hall at gmail.com

With the syspref AllowHoldItemTypeSelection set to Allow, it is possible to add
a hold for an itemtype that doesn’t actually exist at a specific branch. Say
that branch A has two itemtypes: books and map, while branch B has three:
books, map and audio book. It is possible to add a hold for branch A with
itemtype audio book although there is no item with such an itemtype at this
branch. This will cause an internal server error if you try to delete this
faulty hold.

To recreate:
1) Enable AllowHoldItemTypeSelection
2) Add, or find, a bibliographic record with at least two branches and at least
two items with two different itemtypes. Branch B should not have all itemtypes.
3) Add a hold for branch B, and choose an itemtype not available at this branch
(there are no such items)
4) Try deleting the hold, note the internal server error.

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


More information about the Koha-bugs mailing list