Bugzilla – Attachment 74563 Details for
Bug 20590
Koha::Exceptions does not stringify the exceptions
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 20590: Include Koha::Exceptions::Exception
Bug-20590-Include-KohaExceptionsException.patch (text/plain), 1.11 KB, created by
Tomás Cohen Arazi (tcohen)
on 2018-04-19 14:26:37 UTC
(
hide
)
Description:
Bug 20590: Include Koha::Exceptions::Exception
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi (tcohen)
Created:
2018-04-19 14:26:37 UTC
Size:
1.11 KB
patch
obsolete
>From e8684ca4a3cfddbb697afbdaaae556badc769e0a Mon Sep 17 00:00:00 2001 >From: Tomas Cohen Arazi <tomascohen@theke.io> >Date: Thu, 19 Apr 2018 11:13:06 -0300 >Subject: [PATCH] Bug 20590: Include Koha::Exceptions::Exception > >This patch makes Koha::Exceptions::Object include >Koha::Exceptions::Exception so it is not required to include it >excplicitly for using this exceptions. > >To test: >- Run: > $ kshell > $k prove t/Koha/Exceptions.t >=> FAIL: Tests fail because Koha::Exceptions::Exception is not >(implicitly or explicitly included) >- Apply this patch >- Run > k$ prove t/Koha/Exceptions.t >=> SUCCESS: Tests pass! > >Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> >--- > Koha/Exceptions/Object.pm | 2 ++ > 1 file changed, 2 insertions(+) > >diff --git a/Koha/Exceptions/Object.pm b/Koha/Exceptions/Object.pm >index 451c677c5f..81156400c9 100644 >--- a/Koha/Exceptions/Object.pm >+++ b/Koha/Exceptions/Object.pm >@@ -2,6 +2,8 @@ package Koha::Exceptions::Object; > > use Modern::Perl; > >+use Koha::Exceptions::Exception; >+ > use Exception::Class ( > 'Koha::Exceptions::Object' => { > isa => 'Koha::Exceptions::Exception', >-- >2.17.0
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 20590
:
74246
|
74556
|
74560
|
74561
|
74562
| 74563 |
74583
|
74639