From: Jeff Godin Date: Sat, 3 Nov 2012 04:50:10 +0000 (-0400) Subject: HACK: Ignore backdate on all SIP checkins X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=2a132553d3737da61e6547b6fb1ee3b393936f02;p=evergreen%2Ftadl.git 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 --- 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