[Koha-bugs] [Bug 17317] Adding "bib" type to GetAvailability method for ILSDI

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Jan 4 23:26:19 CET 2017


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

--- Comment #19 from Katrin Fischer <katrin.fischer at bsz-bw.de> ---
I tested this feature to see if it was safe to go in by not changing the
existing behaviour of GetAvailability for 'item'. return_type doesn't seem to
be implemented as well?

I think that the error page doesn't look good when you give an invalid
bibnumber:
.../cgi-bin/koha/ilsdi.pl?service=GetAvailability&id=20000&id_type=bib

<dlf:collection xsi:schemaLocation="http://diglib.org/ilsdi/1.1    
http://diglib.org/architectures/ilsdi/schemas/1.1/dlfexpanded.xsd"><dlf:record><dlf:bibliographic
id="20000"/><dlf:items>
    </dlf:items></dlf:record></dlf:collection>

For item it looks like this:

<dlf:collection xsi:schemaLocation="http://diglib.org/ilsdi/1.1    
http://diglib.org/architectures/ilsdi/schemas/1.1/dlfexpanded.xsd"><dlf:record><dlf:bibliographic
id="20000"/><dlf:items><dlf:item
id="20000"><dlf:simpleavailability><dlf:identifier>20000</dlf:identifier><dlf:availabilitystatus>unknown</dlf:availabilitystatus><dlf:availabilitymsg>Error:
could not retrieve availability for this
ID</dlf:availabilitymsg></dlf:simpleavailability></dlf:item></dlf:items></dlf:record></dlf:collection>

What do you think?

return_type doesn't seem to be implemented as well?

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


More information about the Koha-bugs mailing list