[Koha-bugs] [Bug 28125] New: All OPAC holds blocked when OPACHiddenItems contains incorrect values
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Apr 9 16:53:10 CEST 2021
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28125
Bug ID: 28125
Summary: All OPAC holds blocked when OPACHiddenItems contains
incorrect values
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P5 - low
Component: Hold requests
Assignee: koha-bugs at lists.koha-community.org
Reporter: andrew at bywatersolutions.com
QA Contact: testopia at bugs.koha-community.org
CC: gmcharlt at gmail.com
Depends on: 15448
>From bug 15448, we're now checking OPACHiddenItems to see if something is
hidden before we allow a hold on it. However, the manner in which that check is
performed causes a problem if the syspref contains incorrect values.
To recreate:
- make sure OPACHiddenItems is empty
- find a holdable item on the OPAC, confirm you can place a hold on it
- enter "itemlost: [AB]" in OPACHiddenItems (an incorrect value because
itemlost can only contain 1 bit)
- confirm your item is not hidden from the OPAC but you are told it is not
available for holds
You'll see the same behavior if you use an incorrect field name, like "lost" or
"itemtype."
Referenced Bugs:
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15448
[Bug 15448] Placing hold on specific items doesn't enforce OpacHiddenItems
--
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