[Koha-bugs] [Bug 35944] Bookings is not taken into account in CanBookBeRenewed

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Feb 26 07:52:24 CET 2024


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

David Nind <david at davidnind.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |david at davidnind.com

--- Comment #5 from David Nind <david at davidnind.com> ---
Note: With the patch applied, and a booking made so that the item can't be
renewed - text displayed under '0 booked' says "(5 of 5 renewals remaining)".

Testing notes (using KTD):

1. Make an item bookable:
   - Find a record with items
   - Go to the details page
   - Go to the items tab
   - For the item priority, change bookable to 'Yes'

2. Check out the item to a patron

3. Make a booking for another patron for a period that would be covered by the
next renewal:
   - From the record page, select 'Place booking'
   - Select a patron
   - Select a period (starting date and ending date)
   - Submit

4. Renew the item - it is renewed, even though it is also booked during the
period covered by the renewal

5. Cancel the booking and check in the item.

6. Apply the patch (including all the dependencies), updatedatabase,
restart_all

7. Repeat steps 2 and 3

8. Should be unable to renew the item - should show 'booked' instead of the
normal check box to select the item for renewal.

9. Tests should pass before and after the patch is applied: prove
t/db_dependent/Circulation.t

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


More information about the Koha-bugs mailing list