From 2a132553d3737da61e6547b6fb1ee3b393936f02 Mon Sep 17 00:00:00 2001 From: Jeff Godin Date: Sat, 3 Nov 2012 00:50:10 -0400 Subject: [PATCH] HACK: Ignore backdate on all SIP checkins Very temporary workaround for LP 978287, which affects TADL on every SIP checkin, since every SIP checkin is being backdated in our environment. A more elegant solution to be backported from master when it is ready. For now, we use this workaround and try to avoid incorrect overdue fines being generated this weekend. Signed-off-by: Jeff Godin --- Open-ILS/src/perlmods/lib/OpenILS/SIP/Transaction/Checkin.pm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Open-ILS/src/perlmods/lib/OpenILS/SIP/Transaction/Checkin.pm b/Open-ILS/src/perlmods/lib/OpenILS/SIP/Transaction/Checkin.pm index c937892daa..66fbb70325 100644 --- a/Open-ILS/src/perlmods/lib/OpenILS/SIP/Transaction/Checkin.pm +++ b/Open-ILS/src/perlmods/lib/OpenILS/SIP/Transaction/Checkin.pm @@ -85,8 +85,9 @@ sub do_checkin { if($return_date) { # SIP date format is YYYYMMDD. Translate to ISO8601 $return_date =~ s/(\d{4})(\d{2})(\d{2}).*/$1-$2-$3/; - syslog('LOG_INFO', "Checking in with backdate $return_date"); - $args->{backdate} = $return_date; + #syslog('LOG_INFO', "Checking in with backdate $return_date"); + #$args->{backdate} = $return_date; + syslog('LOG_INFO', "TADL: IGNORING SIP backdate $return_date"); } if($current_loc) { # SIP client specified a physical location -- 2.11.0