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

Phil Ringnalda <p...@chetcolibrary.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |p...@chetcolibrary.org
         Depends on|                            |29697

--- Comment #1 from Phil Ringnalda <p...@chetcolibrary.org> ---
We could have (but didn't) handled the returned 404 Not found from
https://git.koha-community.org/Koha-community/Koha/src/commit/ccd4738e26ef3c2e40bfa1dc1e74dfdb94a34239/svc/bib#L84
before bug 29697 accidentally turned that into dead code. Now svc/bib calls
Koha::Biblios->find( $biblionumber ) which returns undef if the biblio doesn't
exist, but rather than returning 404 if we can't find the biblio, we forge
ahead, calling $biblio->metadata->record() on undef and getting a 500 thrown
instead.


Referenced Bugs:

https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29697
[Bug 29697] Replace GetMarcBiblio occurrences with $biblio->metadata->record
-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to