[Koha-bugs] [Bug 26271] Call to /api/v1/patrons/<patron_id>/account returns 500 error if manager_id is NULL

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Sep 3 10:22:51 CEST 2020


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

Fridolin SOMERS <fridolin.somers at biblibre.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #108820|0                           |1
        is obsolete|                            |

--- Comment #4 from Fridolin SOMERS <fridolin.somers at biblibre.com> ---
Created attachment 109584
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=109584&action=edit
Bug 26271: Add failing test to reveal issue with patrons API endpoint

When manager_id is null/undef the API returns error code 500.

To test:
 1) Notice failure when running
    prove t/db_dependent/api/v1/patrons_accounts.t

Signed-off-by: Fridolin Somers <fridolin.somers at biblibre.com>

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