SIP2 Checkout "no-code" failure fix user/tsbere/sip2_checkout_uncoded
authorThomas Berezansky <tsbere@mvlc.org>
Fri, 26 Aug 2011 20:19:13 +0000 (16:19 -0400)
committerThomas Berezansky <tsbere@mvlc.org>
Wed, 26 Oct 2011 22:18:25 +0000 (18:18 -0400)
commit85bad7237967145cf44a118b6d496d321dca905b
treeeb7593f7364a53c295b1c380ec67646462f58a40
parentd11c07ae59a6a34215aab2dfd76b785eb9c2e388
SIP2 Checkout "no-code" failure fix

Instead of assuming that code exists on a response do more checks.

Specifically, a response code can be empty but not zero when there is no
defined event code for the failure code.

An easily tested case of this is standing penalties.

Signed-off-by: Thomas Berezansky <tsbere@mvlc.org>
Open-ILS/src/perlmods/lib/OpenILS/SIP/Transaction/Checkout.pm