Bugzilla – Attachment 124274 Details for
Bug 28306
Allow to query database with minimal memory footprint
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 28306: Fix t/db_dependent/Koha/Objects.t
Bug-28306-Fix-tdbdependentKohaObjectst.patch (text/plain), 1.05 KB, created by
Julian Maurice
on 2021-08-31 12:06:16 UTC
(
hide
)
Description:
Bug 28306: Fix t/db_dependent/Koha/Objects.t
Filename:
MIME Type:
Creator:
Julian Maurice
Created:
2021-08-31 12:06:16 UTC
Size:
1.05 KB
patch
obsolete
>From 92271b4f667c4a8fa39eddd757bde9dbf56e327b Mon Sep 17 00:00:00 2001 >From: Julian Maurice <julian.maurice@biblibre.com> >Date: Tue, 31 Aug 2021 14:00:00 +0200 >Subject: [PATCH] Bug 28306: Fix t/db_dependent/Koha/Objects.t > >It looks like a circular dependency problem where methods are >not exported correctly > >There is at least one circular dependency here: > > C4::Context -> Koha::Caches -> Koha::Cache -> C4::Context > (-> means "uses") > >The tests pass if C4::Context is loaded early, so the patch does that. > >Circular dependencies should be fixed ideally, but it is a little >more complicated, and I don't have the time right now... >--- > t/db_dependent/Koha/Objects.t | 2 ++ > 1 file changed, 2 insertions(+) > >diff --git a/t/db_dependent/Koha/Objects.t b/t/db_dependent/Koha/Objects.t >index 554b631741..dd2e595f67 100755 >--- a/t/db_dependent/Koha/Objects.t >+++ b/t/db_dependent/Koha/Objects.t >@@ -24,6 +24,8 @@ use Test::Exception; > use Test::MockModule; > use Test::Warn; > >+use C4::Context; >+ > use Koha::Authority::Types; > use Koha::Cities; > use Koha::Biblios; >-- >2.20.1
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 28306
:
120752
|
120794
|
123145
|
123148
|
123149
|
123150
|
123151
| 124274 |
124282