[open-ils-commits] [GIT] Evergreen ILS branch master updated. 1492479f314b3ff12539be54ef097a550c099746

Evergreen Git git at git.evergreen-ils.org
Tue May 8 17:34:06 EDT 2012


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Evergreen ILS".

The branch, master has been updated
       via  1492479f314b3ff12539be54ef097a550c099746 (commit)
      from  b52dac83fd59f45e94dcf05c5b9c633c4ad05135 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 1492479f314b3ff12539be54ef097a550c099746
Author: Steven Callender <stevecallender at esilibrary.com>
Date:   Tue May 8 17:15:14 2012 -0400

    lp996776: Patch to fix the response if no configured status is detected.
    
    SIP response messages that use circulation_status where defaulting to just 1
    rather than 01 if the status was not detected. Since SIP needs a 2 character
    response, this was causing issues in some 3rd party devices. Added quoting
    around the 01 to force the 2 characters.
    
    Signed-off-by: Steven Callender <stevecallender at esilibrary.com>
    Signed-off-by: Galen Charlton <gmc at esilibrary.com>

diff --git a/Open-ILS/src/perlmods/lib/OpenILS/SIP/Item.pm b/Open-ILS/src/perlmods/lib/OpenILS/SIP/Item.pm
index 35d9ee4..71a823d 100644
--- a/Open-ILS/src/perlmods/lib/OpenILS/SIP/Item.pm
+++ b/Open-ILS/src/perlmods/lib/OpenILS/SIP/Item.pm
@@ -356,7 +356,7 @@ sub sip_circulation_status {
     return '12' if $stat == OILS_COPY_STATUS_LOST;
     return '13' if $stat == OILS_COPY_STATUS_MISSING;
         
-    return 01;
+    return '01';
 }
 
 sub sip_security_marker {

-----------------------------------------------------------------------

Summary of changes:
 Open-ILS/src/perlmods/lib/OpenILS/SIP/Item.pm |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list