]> git.koha-community.org Git - koha.git/commit
Bug 31054: Manual importing for EDIFACT invoices fails with a 500 error page
authorKyle Hall <kyle@bywatersolutions.com>
Mon, 27 Jun 2022 12:13:39 +0000 (08:13 -0400)
committerArthur Suzuki <arthur.suzuki@biblibre.com>
Fri, 26 Aug 2022 07:50:01 +0000 (09:50 +0200)
commitaef92622299fc8a5941a05033e1225295b1f1334
tree805073b1bb5325c309c2b558884bcf099073141b
parent4d48a9af0b0c2e83c51a616978a3abbf22f5997b
Bug 31054: Manual importing for EDIFACT invoices fails with a 500 error page

Error in plack log is: Can't locate object method "new" via package
"Koha::Plugin::Com::ByWaterSolutions::MyEdifactPlugin" (perhaps you
forgot to load "Koha::Plugin::Com::ByWaterSolutions::MyEdifactPlugin"?)
at /usr/share/koha/lib/Koha/EDI.pm line 219.

Test Plan:
1) Set EdifactInvoiceImport to "Don't"
2) Configure an EDI vendor to use an EDIFACT plugin
3) Attempt to import an invoice file
4) You will be shown an error page
5) Apply this patch
6) Restart all the things!
7) Attempt to import another invoice file
8) It works!

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit 181b0c16feeb0645851aa586c59c1fd5de8e6053)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit 20a9c16e6b505d081f6875cce66fd2fb6ee66bbc)
Signed-off-by: Arthur Suzuki <arthur.suzuki@biblibre.com>
Koha/EDI.pm