[Koha-bugs] [Bug 13990] ILS-DI LookupPatron Requries ID Type

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Nov 7 19:20:28 CET 2017


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

--- Comment #3 from Jon Knight <J.P.Knight at lboro.ac.uk> ---
Created attachment 69004
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=69004&action=edit
Bug 13990 - ILS-DI LookupPatron Requries ID Type

Patch provides a constrained set of borrower attributes to try in turn if the
ID type is not specified.  Also added "email" to the POD documented list of
id types seeing as its quite a useful one for integration developers.

Test plan:

1) without the patch applied, turn on ils-di interface in your admin sysprefs
   and then try accessing the URL:

   https://your-server/cgi-bin/koha/ilsdi.pl?service=LookupPatron&id=Mabel

   replacing "your-server" your Koha dev test domain name (localhost:8080 if
   you're using a kohadevbox VM) and "Mabel" with the first name of a patron
   (Mabel is in the test database already if you're using that).

   You should get back an error message in the XML.

2) Apply the patch and repeat. This time you should get an <id> element in
   the XML with Mabel's patron ID in it.

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