[Koha-bugs] [Bug 21203] ILS-DI - GetRecords crashes on non-existent records
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu Aug 16 12:24:11 CEST 2018
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21203
Josef Moravec <josef.moravec at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #77777|0 |1
is obsolete| |
--- Comment #8 from Josef Moravec <josef.moravec at gmail.com> ---
Created attachment 77887
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=77887&action=edit
Bug 21203: ILS-DI - Make GetRecords handle non-existent records
Caused by
commit cb336e633bf7e0cb25051a8ed8157af8486a58d7
Bug 18255: Koha::Biblio - Replace GetBiblioItemByBiblioNumber with
Koha::Biblio->biblioitem
Can't call method "biblioitem" on an undefined value at
/home/vagrant/kohaclone/C4/ILSDI/Services.pm line 212
Test plan:
- Enable ilsdi
- hit /cgi-bin/koha/ilsdi.pl?service=GetRecords&id=X
With X an existing biblionumber and a non existing one
Both requests must succeed
Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
Signed-off-by: Josef Moravec <josef.moravec at gmail.com>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list