Bugzilla – Attachment 148339 Details for
Bug 32334
Sync comments in database with schema
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 32334: Add general exception FileNotFound
Bug-32334-Add-general-exception-FileNotFound.patch (text/plain), 1019 bytes, created by
David Nind
on 2023-03-17 13:33:56 UTC
(
hide
)
Description:
Bug 32334: Add general exception FileNotFound
Filename:
MIME Type:
Creator:
David Nind
Created:
2023-03-17 13:33:56 UTC
Size:
1019 bytes
patch
obsolete
>From d84af89135facb49160335e3e4a6411295dbe902 Mon Sep 17 00:00:00 2001 >From: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >Date: Thu, 1 Dec 2022 13:08:46 +0000 >Subject: [PATCH] Bug 32334: Add general exception FileNotFound > >No test plan. > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >Signed-off-by: David Nind <david@davidnind.com> >--- > Koha/Exceptions.pm | 5 +++++ > 1 file changed, 5 insertions(+) > >diff --git a/Koha/Exceptions.pm b/Koha/Exceptions.pm >index 00f45f661d..415518fff1 100644 >--- a/Koha/Exceptions.pm >+++ b/Koha/Exceptions.pm >@@ -15,6 +15,11 @@ use Exception::Class ( > isa => 'Koha::Exception', > description => 'Same object already exists', > }, >+ 'Koha::Exceptions::FileNotFound' => { >+ isa => 'Koha::Exception', >+ description => 'File not found', >+ fields => ['filename'], >+ }, > 'Koha::Exceptions::InvalidStatus' => { > isa => 'Koha::Exception', > description => 'The current status is not valid in context', >-- >2.30.2
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 32334
:
144391
|
144392
|
144393
|
144394
|
146712
|
146713
|
146714
|
146715
|
146716
|
146717
|
146718
|
146719
|
146720
|
148266
|
148299
|
148335
|
148338
|
148339
|
148340
|
148341
|
148342
|
148343
|
148344
|
148345
|
148346
|
148347
|
148348
|
149259
|
149260
|
149261
|
149262
|
149263
|
149264
|
149265
|
149266
|
149267
|
149268
|
149269
|
149270