From deadb2e370ea7c753b0284cbc616152d7eea0e7d Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Tue, 14 Nov 2023 11:57:40 -0500 Subject: [PATCH] Bug 30070: (QA follow-up) Make qa script happy Signed-off-by: Ray Delahunty Signed-off-by: Kyle M Hall Signed-off-by: Katrin Fischer --- Koha/REST/V1/Acquisitions/Vendor/Edifact/Files.pm | 3 +-- Koha/Schema/Result/EdifactMessage.pm | 9 +++++++++ 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/Koha/REST/V1/Acquisitions/Vendor/Edifact/Files.pm b/Koha/REST/V1/Acquisitions/Vendor/Edifact/Files.pm index fe9e2f3ed1..d672038e5d 100644 --- a/Koha/REST/V1/Acquisitions/Vendor/Edifact/Files.pm +++ b/Koha/REST/V1/Acquisitions/Vendor/Edifact/Files.pm @@ -56,8 +56,7 @@ sub list { status => 200, openapi => $files, ); - } - catch { + } catch { $c->unhandled_exception($_); }; } diff --git a/Koha/Schema/Result/EdifactMessage.pm b/Koha/Schema/Result/EdifactMessage.pm index 9bfd3c51ab..225481ed77 100644 --- a/Koha/Schema/Result/EdifactMessage.pm +++ b/Koha/Schema/Result/EdifactMessage.pm @@ -202,9 +202,18 @@ __PACKAGE__->add_columns( '+deleted' => { is_boolean => 1 }, ); +=head2 koha_objects_class + +=cut + sub koha_objects_class { 'Koha::Edifact::Files'; } + +=head2 koha_object_class + +=cut + sub koha_object_class { 'Koha::Edifact::File'; } -- 2.39.5