]> git.evergreen-ils.org Git - working/Evergreen.git/commit
EDI: protect against invalid order response
authorBill Erickson <berick@esilibrary.com>
Mon, 3 Dec 2012 14:20:29 +0000 (09:20 -0500)
committerLebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Mon, 14 Jan 2013 22:10:30 +0000 (17:10 -0500)
commit62e15ea09a0e974b721df5f4c4b5d476ffc03a88
treedabc3f1f9994659306e12c276ca5f8c1ad8d15bb
parent8ad5d5b00dbe3cc8f56e6a104facbf7bf3f6e920
EDI: protect against invalid order response

Do not attempt to createI EDI messages for order responses which
reference nonexistent purchase orders, since it results in
transaction commit errors on invalid foreign keys, preventing
subsequent EDI files from getting processed.  Instead, log it
and skip it.

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Open-ILS/src/perlmods/lib/OpenILS/Application/Acq/EDI.pm