[Koha-bugs] [Bug 30109] New: Wrong interface in logs when renewing patron

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Feb 15 14:21:04 CET 2022


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

            Bug ID: 30109
           Summary: Wrong interface in logs when renewing patron
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Architecture, internals, and plumbing
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: nick at bywatersolutions.com
        QA Contact: testopia at bugs.koha-community.org

I have not been able to recreate this in my testing environment, however, I can
find evidence of the problem in many production environments.

When renewing a patron the interface recorded in action logs is often 'api'

SELECT * FROM action_logs WHERE module='MEMBERS' AND action="RENEW" AND
interface='api';

The specific log is from Koha::Patron->renew_account

This is only called in members/setstatus.pl

setstatus uses 'checkauth' rather than other routines for verifying logged in
patron, and it seems that the interface must not be set for Context in that
call

-- 
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