From 9c52d5bae7f1c53273c44ca16b51075a65b9577b Mon Sep 17 00:00:00 2001 From: Marcel de Rooy Date: Fri, 28 Jul 2017 10:29:51 +0200 Subject: [PATCH] Bug 18996: Handle DataCorrupted message in SIP checkin Content-Type: text/plain; charset=utf-8 We could at least set alert type to 99 for DataCorrupted. --- C4/SIP/ILS/Transaction/Checkin.pm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/C4/SIP/ILS/Transaction/Checkin.pm b/C4/SIP/ILS/Transaction/Checkin.pm index 19c82e9..e373912 100644 --- a/C4/SIP/ILS/Transaction/Checkin.pm +++ b/C4/SIP/ILS/Transaction/Checkin.pm @@ -72,7 +72,9 @@ sub do_checkin { # biblionumber, biblioitemnumber, itemnumber # borrowernumber, reservedate, branchcode # cancellationdate, found, reservenotes, priority, timestamp - + if( $messages->{DataCorrupted} ) { + $self->alert_type('99'); + } if ($messages->{BadBarcode}) { $self->alert_type('99'); } -- 2.1.4