Bug 30014

Summary: When a lost item is marked returned on payment the checkout is not anonymized
Product: Koha Reporter: Nick Clemens (kidclamp) <nick>
Component: CirculationAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: normal    
Priority: P5 - low CC: gmcharlt, kyle.m.hall
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:

Description Nick Clemens (kidclamp) 2022-02-03 12:45:31 UTC
To recreate:
1 - Set syspref MarkLostItemsAsReturned to 'when receiving payment for the item' only
2 - Find an item, add a replacement cost, check it out to a patron
3 - Ensure system preference OpacPrivacy is set to Allow
4 - Sign in to OPAC as the patron and set privacy to 'Never'
5 - Pay the lost fine on the item
6 - Item is returned
7 - Check circulation history in staff client - you are told no history is kept
8 - Check patron's checkout history on OPAC
9 - You still see the lost item
Comment 1 Nick Clemens (kidclamp) 2022-02-03 12:51:00 UTC
Koha/Account/Line uses 'ReturnLostItem' which calls MarkIssueReturned without passing the privacy parameter