[open-ils-commits] ***SPAM*** [GIT] Evergreen ILS branch rel_2_3 updated. c9029e11372306b14888085abc8bdee98ba91e21
Evergreen Git
git at git.evergreen-ils.org
Wed Sep 25 20:38:26 EDT 2013
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_3 has been updated
via c9029e11372306b14888085abc8bdee98ba91e21 (commit)
from 40b54d040927d5361ff65fc7c075a51fc5ba033f (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 c9029e11372306b14888085abc8bdee98ba91e21
Author: Lebbeous Fogle-Weekley <lebbeous at esilibrary.com>
Date: Thu Sep 5 13:24:54 2013 -0400
Better handling of purchase_order being non-numeric
Signed-off-by: Lebbeous Fogle-Weekley <lebbeous at esilibrary.com>
Signed-off-by: Ben Shum <bshum at biblio.org>
diff --git a/Open-ILS/src/perlmods/lib/OpenILS/Application/Acq/EDI.pm b/Open-ILS/src/perlmods/lib/OpenILS/Application/Acq/EDI.pm
index aa2e67d..3a2ce2c 100644
--- a/Open-ILS/src/perlmods/lib/OpenILS/Application/Acq/EDI.pm
+++ b/Open-ILS/src/perlmods/lib/OpenILS/Application/Acq/EDI.pm
@@ -224,8 +224,8 @@ sub process_retrieval {
# up PO number later from the lineitems themselves if necessary.
if ($msg_hash->{purchase_order} !~ /^\d+$/) {
- $logger->warn("EDI: PO identifier is non-numeric. Continuing.");
- # No "next" here; we'll process this and just not link to acqpo.
+ $logger->warn("EDI: PO identifier is non-numeric. Blanking and continuing.");
+ undef $msg_hash->{purchase_order};
} else {
$logger->info("EDI: processing message for PO " .
$msg_hash->{purchase_order});
@@ -898,6 +898,7 @@ sub invoice_lineitem_to_invoice_entry {
# references from the electronic invoice.
# @param $message An acqedim object
# @param $invoice_lineitems An arrayref from part of EDIReader output
+# NOTE: This sub can have side-effects on $message.
sub process_invoice_lineitems {
my ($e, $msg_kludges, $log_prefix, $message, $invoice_lineitems) = @_;
-----------------------------------------------------------------------
Summary of changes:
.../perlmods/lib/OpenILS/Application/Acq/EDI.pm | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
hooks/post-receive
--
Evergreen ILS
More information about the open-ils-commits
mailing list