[Koha-bugs] [Bug 35394] Tone down "!!A booking exists!!" a bit

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Mar 8 16:43:04 CET 2024


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

--- Comment #3 from Martin Renvoize <martin.renvoize at ptfs-europe.com> ---
Created attachment 162973
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=162973&action=edit
Bug 35394: Correction to booked items logic

This patch fixes the overly extreme message that was designed to appeared
when someone tried to check out a booked item to the wrong user.
However, the message never appeared due to a logic error within
CanBookBeIssued which this patch also resolved.

Test plan
1) Make an item bookable
2) Add a booking for the item to patron A from tomorrow
3) In the database, update the booking start_date to today (or wait a
   day before the next step)
4) Attempt to check the book out to patron B.
   Note that you are displayed with the new message 'The item is booked
   for another patron' and you are unable to check the item out.

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


More information about the Koha-bugs mailing list