Bug 41660

Summary: Action logs are not created for automatic item updates triggered by UpdateNotForLoanStatusOnCheckin / UpdateNotForLoanStatusOnCheckout
Product: Koha Reporter: elina.uotila
Component: CatalogingAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: m.de.rooy
Version: unspecified   
Hardware: All   
OS: All   
GIT URL: Initiative type: ---
Sponsorship status: --- Comma delimited list of Sponsors:
Crowdfunding goal: 0 Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:

Description elina.uotila 2026-01-19 12:41:37 UTC
When an item’s not for loan status is automatically updated by the system preference UpdateNotForLoanStatusOnCheckin or by the system preference UpdateNotForLoanStatusOnCheckout, no entry is written to the action_logs table.

In contrast, manually updating an item’s not for loan status does create an entry in action_logs when CataloguingLog is set to Log.

Automatic updates triggered by these system preferences should also be recorded in action_logs for consistency and auditability.