[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
Thu Jan 4 16:01:02 CET 2024


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

--- Comment #46 from Martin Renvoize <martin.renvoize at ptfs-europe.com> ---
Created attachment 160536
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=160536&action=edit
Bug 28294: [ALT] 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