Koha-clms/catalogue
Pasi Kallinen ae819fce4c Bug 21248: Fix COinS carp in MARC details page on unknown record
Looking up a nonexistent record in the MARC details -page causes
the COinS to carp. The fix is trivial, just move the COinS call
couple lines, after the record existence check.

TEST PLAN
---------
1) reset_all for kohadevbox
2) log in to staff client - admin/admin
3) search catalogue for green
4) tweak the top URL to have a bad biblionumber (eg. 9999)
5) cat /var/log/koha/kohadev/plack-err.log
   -- floody! with errors.
6) echo | sudo tee /var/log/koha/kohadev/plack-err.log
7) restart_all
8) repeat steps 2 through 5.
   -- just nice starting messages, not floody.
9) run koha qa test tools

Signed-off-by: Mark Tompsett <mtompset@hotmail.com>

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>

(cherry picked from commit 030047da42)

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

(cherry picked from commit 7fe692bf0e)

Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2018-09-24 11:41:37 +02:00
..
ISBDdetail.pl Bug 19367: $biblio variable redefined in same scope in ISBDdetail 2017-10-09 16:02:54 -03:00
MARCdetail.pl Bug 21248: Fix COinS carp in MARC details page on unknown record 2018-09-24 11:41:37 +02:00
detail.pl Bug 20919: Remove unecessary search calls on the biblio detail page 2018-07-30 14:37:18 +02:00
export.pl Bug 19040: Refactor GetMarcBiblio parameters 2017-08-25 10:23:42 -03:00
getitem-ajax.pl Bug 17843: Replace C4::Koha::getitemtypeinfo with Koha::ItemTypes 2017-07-05 13:42:21 -03:00
image.pl Bug 16259: Replace CGI->param with CGI->multi_param in list context - part 2 2016-05-16 17:28:06 +00:00
imageviewer.pl Bug 17829: Move GetMember to Koha::Patron 2017-07-10 13:14:19 -03:00
issuehistory.pl Bug 19334: Circulation history doesn't set biblionumber so left navigation is broken 2017-09-29 12:35:58 -03:00
itemsearch.pl Bug 20067: Fix other checks for linked authorised value categories 2018-04-23 22:31:43 +00:00
labeledMARCdetail.pl Bug 19040: Refactor GetMarcBiblio parameters 2017-08-25 10:23:42 -03:00
moredetail.pl Bug 20067: Fix other checks for linked authorised value categories 2018-04-23 22:31:43 +00:00
search-history.pl Bug 16593: Do not allow patrons to delete search history of others patrons 2016-06-24 11:47:29 +00:00
search.pl Bug 19502: Remove debug warn 2018-07-30 14:14:45 +02:00
showmarc.pl Bug 20083 - Information disclosure when (mis)using the MARC Preview feature 2018-03-26 15:19:26 +00:00
updateitem.pl Bug 12363: Add a switch to mark|do not mark items as returned when lost 2017-10-27 13:57:14 -03:00