Bug 27659

Summary: Holds can be placed on 'not for loan' itemtype items
Product: Koha Reporter: Katrin Fischer <katrin.fischer>
Component: Hold requestsAssignee: Bugs List <koha-bugs>
Status: CLOSED INVALID QA Contact: Testopia <testopia>
Severity: critical    
Priority: P5 - low CC: gmcharlt
Version: Main   
Hardware: All   
OS: All   
GIT URL: Initiative type: ---
Sponsorship status: --- Comma delimited list of Sponsors:
Crowdfunding goal: 0 Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:

Description Katrin Fischer 2021-02-08 21:32:23 UTC
Using an almost fresh sample database I can place holds on itemtype "Reference" items without _any warning_ on item and record level in the staff interface AND the OPAC.

Sample data example: Programming the Perl DBI

This should not work as the item type "Reference" is marked as not for loan in administration. These items are also not picked up by the build_holds_queue.pl for this reason.
Comment 1 Katrin Fischer 2021-02-08 21:34:10 UTC
I mistook the collection Reference for the itemtype... just ignore me.