[Koha-bugs] [Bug 35587] Items lose their lost status when check-in triggers a transfer even though BlockReturnOfLostItems is enabled

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Dec 20 03:43:23 CET 2023


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

--- Comment #3 from Aleisha Amohia <aleisha at catalyst.net.nz> ---
Created attachment 160093
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=160093&action=edit
Bug 35587: Do not trigger transfer if lost item returned and
BlockReturnOfLostItems enabled

This fixes current buggy behaviour - when BlockReturnOfLostItems is enabled, no
transfer should be triggered and the lost status should be retained.

To test:

1. Go to Koha Administration -> Global system preferences
2. Set the BlockReturnOfLostItems system preference to Block
3. Enable the AutomaticItemReturn system preference (this is simply to make
testing a bit faster)
4. Take note of your logged in library
5. Search for an item where the home library is NOT the same as your logged in
library
6. Edit this item and give it a lost status
7. Check in the item
8. Notice the item is returned and a transfer is automatically triggered
9. If you go to the item record page, the lost status has been remove

10. Apply the patch and restart services

11. Edit the item again and give it a lost status. This will also cancel the
transfer
12. Check in the item
13. Confirm the transfer is NOT triggered and the lost status is retained as
expected.
14. Go back to system preferences and disable the BlockReturnOfLostItems system
preference (set to "Don't block")
15. Check in the item
16. Confirm the transfer is triggered and lost status is removed

17. Confirm tests pass

prove t/db_dependent/Circulation/Returns.t

Sponsored-by: Pymble Ladies' College

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


More information about the Koha-bugs mailing list