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

--- Comment #22 from Paul Derscheid <[email protected]> ---
Created attachment 208338
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=208338&action=edit
Bug 41514: (QA follow-up) Honour the trail period when extending a booked
checkout

Koha::Booking->store now enforces lead and trail periods, but
Koha::Item->find_booking only checks the lead period at the global
level. Renewing a booked checkout, or overriding its due date at
checkout, into the next booking's trail window was allowed, and the
booking end_date sync then silently failed on the clash.

- find_booking with exclude_booking_id also adds the excluded booking's
  trail period and reads both rules for its pickup library
- plain checkout lookups are unchanged

Test plan:
1. prove /kohadevbox/koha/t/db_dependent/Circulation.t
2. prove /kohadevbox/koha/t/db_dependent/Koha/Item.t

Assisted-by: Opus 5.5 (Anthropic)
Signed-off-by: Paul Derscheid <[email protected]>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to