[open-ils-commits] [GIT] Evergreen ILS branch rel_2_2 updated. ce1f440f8c4f444e6984ddd2a3bdbb21b8ea802a
Evergreen Git
git at git.evergreen-ils.org
Tue May 8 17:34:07 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_2 has been updated
via ce1f440f8c4f444e6984ddd2a3bdbb21b8ea802a (commit)
from 8cf4831ccebc781f4096775d6350725a4dad9c77 (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 ce1f440f8c4f444e6984ddd2a3bdbb21b8ea802a
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