[open-ils-commits] [GIT] Evergreen ILS branch rel_2_8 updated. 39cd8725b42ec2312ff238bf3367784477172dca

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, rel_2_8 has been updated
       via  39cd8725b42ec2312ff238bf3367784477172dca (commit)
      from  aa3042738c0c0472bb1ecf69af9cfe3afdb09ffa (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 39cd8725b42ec2312ff238bf3367784477172dca
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