Koha-clms/circ
Nick Clemens 05d55656a6 Bug 39750: Ignore limits when updating WrongTransfer
This patch ignores limits when updating a wrong transfer to ensure we can return a book
home when checked in at the wrong branch

To test:
1 - Enable  UseBranchTransferLimits based on 'Collection code'
2 - Disable transfers for FIC from:
    CPL -> FFL
    CPL -> IPT
    FFL -> CPL
    FFL -> IPT
    IPT -> CPL
    IPT -> FFL
3 - Set library to IPT
4 - Checkin an FFL item
5 - It generates a transfer home
6 - Set library to CPL
7 - Check the item in
8 - 500 error, and in logs:
    ==> /var/log/koha/kohadev/plack-error.log <==
Exception 'Koha::Exceptions::Item::Transfer::Limit' thrown 'Transfer not allowed'
9 - Apply patch, restart all
10 - Check item in again
11 - Success! Transfer updated

Signed-off-by: Roman Dolny <roman.dolny@jezuici.pl>
Signed-off-by: Martin Renvoize <martin.renvoize@openfifth.co.uk>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
(cherry picked from commit b16582b963)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2025-06-19 12:36:35 +02:00
..
add_message.pl Bug 37365: (QA follow-up) Add borrowernumber to referrer url 2024-11-07 17:32:44 +01:00
article-request-slip.pl Bug 38089: (follow-up) More fixes for errors in original submission 2024-10-11 11:13:47 +02:00
article-requests.pl
…
bookcount.pl
…
branchoverdues.pl
…
branchtransfers.pl
…
checkout-notes.pl
…
circulation-home.pl
…
circulation.pl Bug 38847: Fix error when renewing an expired child patron without a guarantor 2025-06-19 09:57:15 +02:00
curbside_pickups.pl Bug 37761: Fix redirection on the tabs and buttons 2025-03-19 23:57:45 +01:00
del_message.pl
…
hold-transfer-slip.pl Bug 38089: (follow-up) More fixes for errors in original submission 2024-10-11 11:13:47 +02:00
on-site_checkouts.pl
…
overdue.pl Bug 33339: Prevent Formula Injection (CSV Injection) in CSV files 2024-11-14 10:46:31 +01:00
pendingbookings.pl Bug 33736: Add filter for holding library 2024-10-25 11:09:55 +02:00
pendingreserves.pl Bug 38239: Incorrect number of items to pull (in Holds to pull) with partially filled holds 2024-11-19 16:35:16 +01:00
renew.pl
…
request-article.pl
…
reserveratios.pl
…
returns.pl Bug 39750: Ignore limits when updating WrongTransfer 2025-06-19 12:36:35 +02:00
set-library.pl
…
transfer-slip.pl Bug 38089: (follow-up) More fixes for errors in original submission 2024-10-11 11:13:47 +02:00
transfers_to_send.pl
…
transferstoreceive.pl
…
view_holdsqueue.pl
…
waitingreserves.pl Bug 17338: Fix redirection to correct tabs on waitingreserves.pl 2025-05-26 20:17:04 +02:00