Bug 13939

Summary: ILS-DI function GetServices doesn't work when the item/biblio is available for hold for specific patron
Product: Koha Reporter: Josef Moravec <josef.moravec>
Component: Architecture, internals, and plumbingAssignee: Josef Moravec <josef.moravec>
Status: CLOSED FIXED QA Contact: Testopia <testopia>
Severity: normal    
Priority: P5 - low CC: chris, tmisilo, tomascohen
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: Trivial patch
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:
Attachments: Bug 13939: ILS-DI function GetServices doesn't work when the item/biblio is available for hold for specific patron
Sign off of patch
[PASSED QA] Bug 13939: ILS-DI function GetServices doesn't work when the item/biblio is available for hold for specific patron

Description Josef Moravec 2015-04-02 04:19:59 UTC

    
Comment 1 Josef Moravec 2015-04-02 04:25:45 UTC Comment hidden (obsolete)
Comment 2 Tom Misilo 2015-04-02 10:46:47 UTC Comment hidden (obsolete)
Comment 3 Kyle M Hall (khall) 2015-04-03 17:29:14 UTC
Created attachment 37462 [details] [review]
[PASSED QA] Bug 13939: ILS-DI function GetServices doesn't work when the item/biblio is available for hold for specific patron

Test plan:
1) Enable ILS DI (system preference 'ILS-DI')
2) Try to access the URL
http://<your_opac_url>/cgi-bin/koha/ilsdi.pl?service=GetServices&patron_id=<borrowernumber>&item_id=<itemnumber>
Choose the patron and item to be available for hold
You'll see an error instead of valid XML response
3) apply the patch
4) try to access the same URL, you should see valid XML response with services "title level hold" and eventually "item level hold" returned

Signed-off-by: Thomas Misilo <misilot@fit.edu>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Comment 4 Tomás Cohen Arazi (tcohen) 2015-04-08 19:45:28 UTC
Patch pushed to master.

Thanks Josef!
Comment 5 Chris Cormack 2015-04-12 08:07:06 UTC
Pushed to 3.18.x will be in 3.18.6