[Koha-bugs] [Bug 31112] Able to renew checkout when the number of holds exceeds available number of items

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Jul 19 10:55:51 CEST 2022


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

Sally <sally.healey at cheshiresharedservices.gov.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Needs Signoff               |Signed Off
                 CC|                            |sally.healey at cheshireshared
                   |                            |services.gov.uk

--- Comment #7 from Sally <sally.healey at cheshiresharedservices.gov.uk> ---
Works as described, signed off.  Thanks for this, good improvement.

There's a small typo in the test plan - either 2.2. should be:  'Create biblio
with two items' or 2.3/2.4 should be:  'Checkout out one item to patron A, one
item to patron B, and add two biblio-level holds for patron C'.  

To test:
 1) prove t/db_dependent/Circulation.t
 2) (Optional, as unit test is provided)
    - Set AllowRenewalIfOtherItemsAvailable = Allow
    - Create biblio with three items
    - Checkout one item to patron A
    - Add two biblio-level holds for patron B
    - Try to renew patron A's checkout with and without this patch.
    - Notice that without this patch the renewal succeeds even though we
      one unfilled hold left. After applying the patch the renewal should
      fail.

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


More information about the Koha-bugs mailing list