[Koha-bugs] [Bug 28294] C4::Circulation::updateWrongTransfer should be moved into Koha::
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Jan 9 14:25:14 CET 2024
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28294
--- Comment #48 from Martin Renvoize <martin.renvoize at ptfs-europe.com> ---
Created attachment 160692
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=160692&action=edit
Bug 28294: Remove updateWrongTransfer
This patch removes the last remaining use of updateWrongTransfer and the
method itself.
We replace it with a call to request_transfer that passes the 'replace'
reason of 'WrongTransfer' through to Koha::Item::Transfer->cancel.
Test plan
1/ git grep updateWrongTransfer to confirm there are no more uses of the
method.
2/ Confirm an incorrect transfer still behaves as expected at
circulation returns.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list