Summary: | Manual importing for EDIFACT invoices fails with a 500 error page | ||
---|---|---|---|
Product: | Koha | Reporter: | Kyle M Hall (khall) <kyle> |
Component: | Acquisitions | Assignee: | Kyle M Hall (khall) <kyle> |
Status: | CLOSED FIXED | QA Contact: | Martin Renvoize (ashimema) <martin.renvoize> |
Severity: | normal | ||
Priority: | P5 - low | CC: | arthur.suzuki, lucas, martin.renvoize, nick, victor |
Version: | Main | ||
Hardware: | All | ||
OS: | All | ||
Change sponsored?: | --- | Patch complexity: | Small patch |
Documentation contact: | Documentation submission: | ||
Text to go in the release notes: | Version(s) released in: |
22.11.00, 22.05.05, 21.11.12
|
|
Circulation function: | |||
Attachments: |
Bug 31054 - Manual importing for EDIFACT invoices fails with a 500 error page
Bug 31054: Manual importing for EDIFACT invoices fails with a 500 error page |
Description
Kyle M Hall (khall)
2022-06-27 12:13:25 UTC
Created attachment 136574 [details] [review] 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! Created attachment 137460 [details] [review] 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> Trivial fix, works as expected with no regressions found.. Going straight for QA.. Passed. Pushed to master for 22.11. Nice work everyone, thanks! Backported to 22.05.05 thx pushed to 21.11.x for 21.11.12 Not backported to oldoldstable (21.05.x). Feel free to ask if it's needed. Nothing to document, marking resolved. |