From e9373ffd2c4d97d3063d9e0b29941d77d54892a4 Mon Sep 17 00:00:00 2001 From: Bill Erickson Date: Tue, 14 Feb 2017 10:53:54 -0500 Subject: [PATCH] LP#1662902: do not re-download EDI files that failed parsing Avoid fetching and creating edi_message entries for EDI messages that the system cannot parse. In the event parsing failed due to a temporary condition (e.g. Ruby translator was not running), messages can be reprocessed by either deleting the offending edi_message row or setting its status to 'retry'. See previous commit ("LP#1662902: do not re-download EDI files that failed processing") for a more detailed explanation. Signed-off-by: Bill Erickson Signed-off-by: Mike Rylander --- Open-ILS/src/perlmods/lib/OpenILS/Application/Acq/EDI.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 60f7dc2325..8676a6bdb1 100644 --- a/Open-ILS/src/perlmods/lib/OpenILS/Application/Acq/EDI.pm +++ b/Open-ILS/src/perlmods/lib/OpenILS/Application/Acq/EDI.pm @@ -136,7 +136,7 @@ sub retrieve_core { in_dir => $account->in_dir }, remote_file => {ilike => $remote_file}, - status => {'in' => [qw/ processed proc_error /]}, + status => {'in' => [qw/ processed proc_error trans_error /]}, }, { join => {"acqedi" => {}}, limit => 1 } ], { idlist => 1 } -- 2.43.2