[open-ils-commits] [GIT] Evergreen ILS branch rel_2_1 updated. 7e18a8bf869ea09c1b187ab05fd20bc3cbacfe59

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, rel_2_1 has been updated
       via  7e18a8bf869ea09c1b187ab05fd20bc3cbacfe59 (commit)
      from  3c631c0c156024a627e44aae77d260d5253659a7 (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 7e18a8bf869ea09c1b187ab05fd20bc3cbacfe59
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 7eb815c..72cd02f 100644
--- a/Open-ILS/src/perlmods/lib/OpenILS/SIP/Item.pm
+++ b/Open-ILS/src/perlmods/lib/OpenILS/SIP/Item.pm
@@ -355,7 +355,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