[Koha-bugs] [Bug 35499] New: Lost item blocked at checkin still logs a return in action logs

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Dec 5 22:11:51 CET 2023


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

            Bug ID: 35499
           Summary: Lost item blocked at checkin still logs a return in
                    action logs
 Change sponsored?: ---
           Product: Koha
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: Circulation
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: caroline.cyr-la-rose at inlibro.com
        QA Contact: testopia at bugs.koha-community.org
                CC: gmcharlt at gmail.com, kyle.m.hall at gmail.com

I found this while investigating something for a client and noticed that in the
patron's modification log, an item was checked out once and checked in twice.
It seems if you try to check in a lost item and BlockReturnOfLostItems is set
to block, an action_log of the return is still logged (with nothing different
from a log of a real checkin). I don't know if this is normal, but it doesn't
feel normal.

To recreate:
1. Make sure BlockReturnOfLostItems is set to Block
2. Make sure MarkLostItemsAsReturned is set to nothing (or at least not From
the items tab of the catalog module)
3. Make sure ReturnLog is set to Log
4. Check out an item to a patron
5. In the list of checkouts, click the barcode and set the status to Lost
6. Try to check in the item
   --> should be blocked and say Item is lost, cannot be checked in. ; Cannot
check in ; NOT CHECKED IN
7. Go to the patron's file and click the Modification log button
   --> Note that there is a line for the return of the item
8. Go back to the item and change the status back to not lost
9. Check in the item again
   --> Should check in normally
10. Go to the patron's file > Modification log
   --> Note that there is a new line for the return of the item; both lines are
identical, there is nothing that indicates one return was not successful.

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


More information about the Koha-bugs mailing list