[open-ils-commits] [GIT] Evergreen ILS branch master updated. 7844c5e4ed473a2b7b9e09a849ec1adadc7fe134
Evergreen Git
git at git.evergreen-ils.org
Tue Jan 5 16:30:41 EST 2016
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 7844c5e4ed473a2b7b9e09a849ec1adadc7fe134 (commit)
from aa3da6f5ab5d995f1d640fbb2c389762ff36807a (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 7844c5e4ed473a2b7b9e09a849ec1adadc7fe134
Author: Jason Stephenson <jstephenson at mvlc.org>
Date: Tue Nov 24 13:57:33 2015 -0500
LP 1519465: POs with spaces in the name cause EDI problems.
This is a small modification to the regular expression for parsing
the id from the edi line item fields in EDIReader.pm that allows the
ids to parse correctly when the PO name contained a space or spaces
in it. This change was suggesting by Bill Erickson (berick) in
http://irc.evergreen-ils.org/evergreen/2015-11-24#i_216736
Signed-off-by: Jason Stephenson <jstephenson at mvlc.org>
Signed-off-by: Ben Shum <bshum at biblio.org>
diff --git a/Open-ILS/src/perlmods/lib/OpenILS/Utils/EDIReader.pm b/Open-ILS/src/perlmods/lib/OpenILS/Utils/EDIReader.pm
index 3a3ecc6..4c17d34 100644
--- a/Open-ILS/src/perlmods/lib/OpenILS/Utils/EDIReader.pm
+++ b/Open-ILS/src/perlmods/lib/OpenILS/Utils/EDIReader.pm
@@ -32,7 +32,7 @@ my %edi_fields = (
);
my %edi_li_fields = (
- id => qr/^RFF\+LI:(?:\S+\/)?(\d+)/,
+ id => qr/^RFF\+LI:(?:[^\/]+\/)?(\d+)/,
index => qr/^LIN\+([^\+]+)/,
amount_billed => qr/^MOA\+203:([^:]+)/,
net_unit_price => qr/^PRI\+AAA:([^:]+)/,
-----------------------------------------------------------------------
Summary of changes:
.../src/perlmods/lib/OpenILS/Utils/EDIReader.pm | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
hooks/post-receive
--
Evergreen ILS
More information about the open-ils-commits
mailing list