https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41514 --- Comment #15 from Paul Derscheid <paul.derscheid@lmscloud.de> --- Created attachment 208329 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=208329&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 <paul.derscheid@lmscloud.de> -- You are receiving this mail because: You are watching all bug changes.