[Koha-bugs] [Bug 36421] New: REST API 500 errors say to check the logs, but suppress errors that would be there

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Mar 25 19:41:25 CET 2024


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

            Bug ID: 36421
           Summary: REST API 500 errors say to check the logs, but
                    suppress errors that would be there
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: REST API
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: kyle at bywatersolutions.com
                CC: tomascohen at gmail.com

If a REST auth error happens that that is unblessed or uncaught, we should warn
the value to the logs.

Test Plan:
1) Install the curbside pickups plugin
2) create a patron with the userid 'puser' and the cardnumber 'pcard'
3) GET /api/v1/contrib/curbsidepickup/patrons/XXX/pickups using basic auth with
the username 'pcard' where XXX is the patron borrowernumber
4) Note there is no error in the logs

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


More information about the Koha-bugs mailing list