[Koha-bugs] [Bug 25851] 19.11 upgrade creates holdallowed rule with empty value

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Jun 24 08:47:33 CEST 2020


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

--- Comment #1 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
Created attachment 106218
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=106218&action=edit
Bug 25851: (bug 18928 follow-up) Remove holdallowed rule is value is an empty
string

On the interface, if "Hold policy" is "Not set", the rule does not exist
in the table. We should reflect that during the update DB process.

Test plan:
1. Set "Hold policy" to "Not set"
2. Confirm that you can place holds
3. Confirm that the rule does not exist in the DB table
4. Set the value to an empty string (manually)
5. Confirm that you cannot longer place holds
6. Go to the circulation rules page and confirm that the value of "Hold
policy" is "Not set"
7. Execute the update DB entry
8. Confirm that you can place holds
9. Confirm that the rule does not exist in the DB table

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